diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-18 13:26:59 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-18 13:26:59 -0500 |
| commit | 8eb6542c022ac84b125416f3fb0828b278ba600a (patch) | |
| tree | fd054c9e52b9718c51b94382ac00cec2aecb8d96 /httemplate/misc/progress-popup.html | |
| parent | 0be54958813c9a4a5e24e32707b92e49881c7c0a (diff) | |
Revert "RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]"
This reverts commit d65927fb45aa1c47d7f593db0142d14799b0fabf.
Diffstat (limited to 'httemplate/misc/progress-popup.html')
| -rw-r--r-- | httemplate/misc/progress-popup.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/misc/progress-popup.html b/httemplate/misc/progress-popup.html index 66fe9a8a2..8e2d6760b 100644 --- a/httemplate/misc/progress-popup.html +++ b/httemplate/misc/progress-popup.html @@ -58,8 +58,8 @@ function updateStatus( status_statustext ) { document.getElementById("progress_jobnum").innerHTML = ''; % unless ( $url ) { - if ( parent.document.<%$formname%>.submitButton.disabled == true ) { - parent.document.<%$formname%>.submitButton.disabled=false; + if ( parent.document.<%$formname%>.submit.disabled == true ) { + parent.document.<%$formname%>.submit.disabled=false; } % } @@ -93,8 +93,8 @@ function updateStatus( status_statustext ) { document.getElementById("progress_bar").innerHTML = ''; document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="<% $onClick %>">'; document.getElementById("progress_jobnum").innerHTML = ''; - if ( parent.document.<%$formname%>.submitButton.disabled == true ) { - parent.document.<%$formname%>.submitButton.disabled=false; + if ( parent.document.<%$formname%>.submit.disabled == true ) { + parent.document.<%$formname%>.submit.disabled=false; } } else { alert('XXX unknown status returned from server: ' + status); |
