[freeside-commits] branch FREESIDE_4_BRANCH updated. 26e430087cb3edc1ea2d4a7e6ee2d7a3214a017e

Jonathan Prykop jonathan at 420.am
Tue Apr 5 23:13:15 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  26e430087cb3edc1ea2d4a7e6ee2d7a3214a017e (commit)
      from  8b5708f147d628392ad10d225906ffb34a440cb6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 26e430087cb3edc1ea2d4a7e6ee2d7a3214a017e
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Apr 6 01:04:21 2016 -0500

    RT#38081 Double click prevention for Post payment button

diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
index 5d74365..116eeeb 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>
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_pay.cgi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list