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/edit | |
| 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/edit')
| -rwxr-xr-x | httemplate/edit/cust_main_attach.cgi | 2 | ||||
| -rw-r--r-- | httemplate/edit/cust_pkg_detail.html | 2 | ||||
| -rwxr-xr-x | httemplate/edit/cust_pkg_discount.html | 2 | ||||
| -rwxr-xr-x | httemplate/edit/cust_pkg_quantity.html | 2 | ||||
| -rwxr-xr-x | httemplate/edit/cust_pkg_salesnum.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/elements/ApplicationCommon.html | 6 | ||||
| -rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/invoice_logo.html | 4 | ||||
| -rwxr-xr-x | httemplate/edit/part_svc.cgi | 2 | ||||
| -rw-r--r-- | httemplate/edit/prospect_main-upload.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/quotation_pkg_detail.html | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index ba40b307a..0880c760a 100755 --- a/httemplate/edit/cust_main_attach.cgi +++ b/httemplate/edit/cust_main_attach.cgi @@ -31,7 +31,7 @@ </TABLE> <BR> % if(! $disabled) { -<INPUT TYPE="submit" NAME="submitButton" +<INPUT TYPE="submit" NAME="submit" VALUE="<% $attachnum ? emt("Apply changes") : emt("Upload File") %>"> % } % if(defined $attach and $curuser->access_right('Delete attachment')) { diff --git a/httemplate/edit/cust_pkg_detail.html b/httemplate/edit/cust_pkg_detail.html index 37a801373..a1a6db6d3 100644 --- a/httemplate/edit/cust_pkg_detail.html +++ b/httemplate/edit/cust_pkg_detail.html @@ -43,7 +43,7 @@ </TABLE> <BR> -<INPUT TYPE="submit" ID="submit" NAME="submitButton" VALUE="<% $title %>"> +<INPUT TYPE="submit" ID="submit" NAME="submit" VALUE="<% $title %>"> </FORM> diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html index 5aece573d..e1e3daede 100755 --- a/httemplate/edit/cust_pkg_discount.html +++ b/httemplate/edit/cust_pkg_discount.html @@ -23,7 +23,7 @@ </TABLE> <BR> -<INPUT NAME="submitButton" TYPE="submit" VALUE="Discount package"> +<INPUT NAME="submit" TYPE="submit" VALUE="Discount package"> </FORM> </BODY> diff --git a/httemplate/edit/cust_pkg_quantity.html b/httemplate/edit/cust_pkg_quantity.html index eadd1b504..ec47ed6cb 100755 --- a/httemplate/edit/cust_pkg_quantity.html +++ b/httemplate/edit/cust_pkg_quantity.html @@ -21,7 +21,7 @@ </TABLE> <BR> -<INPUT NAME="submitButton" TYPE="submit" VALUE="Change"> +<INPUT NAME="submit" TYPE="submit" VALUE="Change"> </FORM> </BODY> diff --git a/httemplate/edit/cust_pkg_salesnum.html b/httemplate/edit/cust_pkg_salesnum.html index da6c0e89b..dba2a905e 100755 --- a/httemplate/edit/cust_pkg_salesnum.html +++ b/httemplate/edit/cust_pkg_salesnum.html @@ -21,7 +21,7 @@ </TABLE> <BR> -<INPUT NAME="submitButton" TYPE="submit" VALUE="Change"> +<INPUT NAME="submit" TYPE="submit" VALUE="Change"> </FORM> </BODY> diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html index 9c068c18e..a531eaad4 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.submitButton.disabled=true; + what.form.submit.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.submitButton.disabled=false; + what.form.submit.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="submitButton" + NAME="submit" 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 1944e5f6f..bc679e577 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="submitButton" +<INPUT NAME="submit" TYPE="button" VALUE="<% emt($svcpart ? 'Apply changes' : 'Add service') %>" onclick="fixup_submit('<%$svcdb%>')" diff --git a/httemplate/edit/invoice_logo.html b/httemplate/edit/invoice_logo.html index f0064e274..e1c61496f 100644 --- a/httemplate/edit/invoice_logo.html +++ b/httemplate/edit/invoice_logo.html @@ -54,7 +54,7 @@ % if ( $mode eq 'upload' ) { Upload new logo (.<%uc($type)%> format): <INPUT TYPE="file" NAME="new_logo"> - <BR><INPUT TYPE="submit" NAME="submitButton" VALUE="Upload"> + <BR><INPUT TYPE="submit" NAME="submit" VALUE="Upload"> % } elsif ( $mode eq 'preview' ) { @@ -71,7 +71,7 @@ % if ( $mode eq 'preview' ) { <BR> - <INPUT TYPE="submit" NAME="submitButton" VALUE="Change logo"> + <INPUT TYPE="submit" NAME="submit" VALUE="Change logo"> % } </FORM> diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index fa5a81ab3..a07fc6005 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -37,7 +37,7 @@ </STYLE> <SCRIPT TYPE="text/javascript"> function fixup_submit(layer) { - document.forms[layer].submitButton.disabled = true; + document.forms[layer].submit.disabled = true; fixup(document.forms[layer]); window[layer+'process'].call(); } diff --git a/httemplate/edit/prospect_main-upload.html b/httemplate/edit/prospect_main-upload.html index 733e5c2f7..24b1caa4c 100644 --- a/httemplate/edit/prospect_main-upload.html +++ b/httemplate/edit/prospect_main-upload.html @@ -2,6 +2,6 @@ <FORM ACTION="prospect_main-ocr.html" METHOD="POST" ENCTYPE="multipart/form-data"> <INPUT TYPE="file" NAME="card"> - <BR><INPUT TYPE="submit" NAME="submitButton" VALUE="Upload"> + <BR><INPUT TYPE="submit" NAME="submit" VALUE="Upload"> <% include('/elements/footer.html') %> diff --git a/httemplate/edit/quotation_pkg_detail.html b/httemplate/edit/quotation_pkg_detail.html index 10d5af052..036bffdde 100644 --- a/httemplate/edit/quotation_pkg_detail.html +++ b/httemplate/edit/quotation_pkg_detail.html @@ -39,7 +39,7 @@ </TABLE> <BR> -<INPUT TYPE="submit" ID="submit" NAME="submitButton" VALUE="<% $title %>"> +<INPUT TYPE="submit" ID="submit" NAME="submit" VALUE="<% $title %>"> </FORM> |
