fix progress hoohaw for internet exploder again, whew. also make sure error/finish...
authorivan <ivan>
Mon, 13 Mar 2006 22:32:51 +0000 (22:32 +0000)
committerivan <ivan>
Mon, 13 Mar 2006 22:32:51 +0000 (22:32 +0000)
httemplate/elements/progress-init.html
httemplate/elements/progress-popup.html

index efebe48..ec485f4 100644 (file)
@@ -31,7 +31,9 @@ function <%=$key%>process () {
 
   //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 );
 
index 200f97d..5444401 100644 (file)
@@ -45,7 +45,9 @@ function updateStatus( status_statustext ) {
     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 @@ function updateStatus( status_statustext ) {
     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 @@ function updateStatus( status_statustext ) {
 }
 </SCRIPT>
 
-    <TABLE>
+    <TABLE WIDTH="100%">
       <TR>
         <TD ALIGN="center" ID="progress_message">
           Server processing job...