summaryrefslogtreecommitdiff
path: root/httemplate/elements/progress-init.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:38:54 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:38:54 -0500
commitd65927fb45aa1c47d7f593db0142d14799b0fabf (patch)
tree2d0d6a37b90fbafe9f9b8f439edeba889a69e594 /httemplate/elements/progress-init.html
parent55daa3803103f841d0fb2b559040115908724da8 (diff)
RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]
Diffstat (limited to 'httemplate/elements/progress-init.html')
-rw-r--r--httemplate/elements/progress-init.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/progress-init.html b/httemplate/elements/progress-init.html
index e38dde65f..ba2e6be0d 100644
--- a/httemplate/elements/progress-init.html
+++ b/httemplate/elements/progress-init.html
@@ -92,8 +92,8 @@ function <%$key%>process () {
//alert('<%$key%>process for form <%$formname%>');
- if ( document.<%$formname%>.submit.disabled == false ) {
- document.<%$formname%>.submit.disabled=true;
+ if ( document.<%$formname%>.submitButton.disabled == false ) {
+ document.<%$formname%>.submitButton.disabled=true;
}
overlib( 'Submitting job to server...', WIDTH, 444, HEIGHT, 168, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );