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/edit/elements | |
parent | 55daa3803103f841d0fb2b559040115908724da8 (diff) |
RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r-- | httemplate/edit/elements/ApplicationCommon.html | 6 | ||||
-rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html index a531eaad4..9c068c18e 100644 --- a/httemplate/edit/elements/ApplicationCommon.html +++ b/httemplate/edit/elements/ApplicationCommon.html @@ -103,7 +103,7 @@ function changed(what) { dst = what.options[what.selectedIndex].value; if ( dst == '' ) { - what.form.submit.disabled=true; + what.form.submitButton.disabled=true; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=true; what.form.clear_button.disabled=true; @@ -111,7 +111,7 @@ function changed(what) { return true; } - what.form.submit.disabled=false; + what.form.submitButton.disabled=false; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=false; what.form.clear_button.disabled=false; @@ -373,7 +373,7 @@ function src_amount_changed () { <BR> <CENTER><INPUT TYPE="submit" VALUE="Apply" - NAME="submit" + NAME="submitButton" ID="submit" % if ($use_sub_dst_thing && $can_change_credit) { onClick="src_amount_changed()" diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html index bc679e577..1944e5f6f 100644 --- a/httemplate/edit/elements/part_svc_column.html +++ b/httemplate/edit/elements/part_svc_column.html @@ -273,7 +273,7 @@ my %communigate_fields = ( &> % $svcpart = '' if $opt{clone}; <BR> -<INPUT NAME="submit" +<INPUT NAME="submitButton" TYPE="button" VALUE="<% emt($svcpart ? 'Apply changes' : 'Add service') %>" onclick="fixup_submit('<%$svcdb%>')" |