diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-06 01:04:21 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-06 01:04:21 -0500 |
commit | a16e54c819e3dd9a61f86042024405ab68a2c1ef (patch) | |
tree | 1c2febfa91a84d3741099414558d8ae41744eb41 /httemplate/edit/cust_pay.cgi | |
parent | 3f7b5f5442d88a440b72e38f4911de4a996f86e4 (diff) |
RT#38081 Double click prevention for Post payment button
Diffstat (limited to 'httemplate/edit/cust_pay.cgi')
-rwxr-xr-x | httemplate/edit/cust_pay.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi index 5d74365e7..116eeebd6 100755 --- a/httemplate/edit/cust_pay.cgi +++ b/httemplate/edit/cust_pay.cgi @@ -12,7 +12,7 @@ <% small_custview($custnum, $conf->config('countrydefault')) %> % } -<FORM NAME="PaymentForm" ACTION="<% popurl(1) %>process/cust_pay.cgi" METHOD=POST onSubmit="document.PaymentForm.submit.disabled=true"> +<FORM NAME="PaymentForm" ACTION="<% popurl(1) %>process/cust_pay.cgi" METHOD=POST onSubmit="document.PaymentForm.submitButton.disabled=true"> <INPUT TYPE="hidden" NAME="link" VALUE="<% $link %>"> <INPUT TYPE="hidden" NAME="linknum" VALUE="<% $linknum %>"> <INPUT TYPE="hidden" NAME="payby" VALUE="<% $payby %>"> @@ -114,7 +114,7 @@ </TABLE> <BR> -<INPUT TYPE="submit" VALUE="<% mt('Post payment') |h %>"> +<INPUT NAME="submitButton" TYPE="submit" VALUE="<% mt('Post payment') |h %>"> </FORM> |