RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit...
[freeside.git] / httemplate / elements / progress-init.html
index e38dde6..ba2e6be 100644 (file)
@@ -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 );