[freeside-commits] freeside/httemplate/elements progress-init.html,
1.8, 1.9 progress-popup.html, 1.4, 1.5
Ivan,,,
ivan at wavetail.420.am
Mon Mar 13 14:32:53 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv7882
Modified Files:
progress-init.html progress-popup.html
Log Message:
fix progress hoohaw for internet exploder again, whew. also make sure error/finish messages are centered, looks better
Index: progress-popup.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/progress-popup.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- progress-popup.html 25 Sep 2005 08:13:35 -0000 1.4
+++ progress-popup.html 13 Mar 2006 22:32:51 -0000 1.5
@@ -45,7 +45,9 @@
document.getElementById("progress_bar").innerHTML = '';
document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="parent.nd(1);">';
document.getElementById("progress_jobnum").innerHTML = '';
- parent.document.<%=$formname%>.submit.disabled=false;
+ if ( parent.document.<%=$formname%>.submit.disabled == true ) {
+ parent.document.<%=$formname%>.submit.disabled=false;
+ }
<% } elsif ( $url ) { %>
window.top.location.href = '<%= $url %>';
<% } else { %>
@@ -56,7 +58,9 @@
document.getElementById("progress_bar").innerHTML = '';
document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="parent.nd(1);">';
document.getElementById("progress_jobnum").innerHTML = '';
- parent.document.<%=$formname%>.submit.disabled=false;
+ if ( parent.document.<%=$formname%>.submit.disabled == true ) {
+ parent.document.<%=$formname%>.submit.disabled=false;
+ }
} else {
alert('XXX unknown status returned from server: ' + status);
}
@@ -64,7 +68,7 @@
}
</SCRIPT>
- <TABLE>
+ <TABLE WIDTH="100%">
<TR>
<TD ALIGN="center" ID="progress_message">
Server processing job...
Index: progress-init.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/progress-init.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- progress-init.html 11 Mar 2006 05:21:20 -0000 1.8
+++ progress-init.html 13 Mar 2006 22:32:51 -0000 1.9
@@ -31,7 +31,9 @@
//alert('<%=$key%>process for form <%=$formname%>');
- document.<%=$formname%>.submit.disabled=true;
+ if ( document.<%=$formname%>.submit.disabled == false ) {
+ document.<%=$formname%>.submit.disabled=true;
+ }
overlib( 'Submitting job to server...', WIDTH, 444, HEIGHT, 168, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
More information about the freeside-commits
mailing list