summaryrefslogtreecommitdiff
path: root/httemplate/elements/progress-init.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/progress-init.html')
-rw-r--r--httemplate/elements/progress-init.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/progress-init.html b/httemplate/elements/progress-init.html
index efebe48e9..ec485f438 100644
--- a/httemplate/elements/progress-init.html
+++ b/httemplate/elements/progress-init.html
@@ -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 );