summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/ApplicationCommon.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:38:54 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:38:54 -0500
commitd65927fb45aa1c47d7f593db0142d14799b0fabf (patch)
tree2d0d6a37b90fbafe9f9b8f439edeba889a69e594 /httemplate/edit/elements/ApplicationCommon.html
parent55daa3803103f841d0fb2b559040115908724da8 (diff)
RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]
Diffstat (limited to 'httemplate/edit/elements/ApplicationCommon.html')
-rw-r--r--httemplate/edit/elements/ApplicationCommon.html6
1 files changed, 3 insertions, 3 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()"