diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-14 08:38:54 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-14 08:38:54 -0500 |
commit | d65927fb45aa1c47d7f593db0142d14799b0fabf (patch) | |
tree | 2d0d6a37b90fbafe9f9b8f439edeba889a69e594 /httemplate/view | |
parent | 55daa3803103f841d0fb2b559040115908724da8 (diff) |
RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/svc_acct/change_svc.html | 2 | ||||
-rw-r--r-- | httemplate/view/svc_acct/change_svc_form.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/view/svc_acct/change_svc.html b/httemplate/view/svc_acct/change_svc.html index ed4aadd5f..045621488 100644 --- a/httemplate/view/svc_acct/change_svc.html +++ b/httemplate/view/svc_acct/change_svc.html @@ -9,7 +9,7 @@ % } </SELECT> - <INPUT NAME="submit" TYPE="submit" VALUE="<% mt('Change') |h %>" disabled> + <INPUT NAME="submitButton" TYPE="submit" VALUE="<% mt('Change') |h %>" disabled> % } diff --git a/httemplate/view/svc_acct/change_svc_form.html b/httemplate/view/svc_acct/change_svc_form.html index 4f10922ba..7e2ef026d 100644 --- a/httemplate/view/svc_acct/change_svc_form.html +++ b/httemplate/view/svc_acct/change_svc_form.html @@ -2,9 +2,9 @@ <SCRIPT TYPE="text/javascript"> function enable_change () { if ( document.OneTrueForm.svcpart.selectedIndex > 1 ) { - document.OneTrueForm.submit.disabled = false; + document.OneTrueForm.submitButton.disabled = false; } else { - document.OneTrueForm.submit.disabled = true; + document.OneTrueForm.submitButton.disabled = true; } } </SCRIPT> |