From d65927fb45aa1c47d7f593db0142d14799b0fabf Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:38:54 -0500 Subject: RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton] --- httemplate/elements/progress-init.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/elements/progress-init.html') 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 ); -- cgit v1.2.1