diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-12-14 09:37:02 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-12-14 09:37:02 -0800 |
commit | faf15af4846cb0e5b5e6e75b6f17cc3b60e43b19 (patch) | |
tree | 5ad9feec0f51b3e54979013688c62ba333b38ff0 /httemplate/edit/cust_pkg_discount.html | |
parent | 16f0ad0c82e6046df66647e8401e3b16f54e0961 (diff) |
add double-click prevention to discount popup/form, RT#73799
Diffstat (limited to 'httemplate/edit/cust_pkg_discount.html')
-rwxr-xr-x | httemplate/edit/cust_pkg_discount.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html index e814c96c5..e65c613a0 100755 --- a/httemplate/edit/cust_pkg_discount.html +++ b/httemplate/edit/cust_pkg_discount.html @@ -14,13 +14,17 @@ <% include('/elements/error.html') %> -<FORM NAME="DiscountPkgForm" ACTION="<% $p %>edit/process/cust_pkg_discount.html" METHOD=POST> +<FORM NAME = "DiscountPkgForm" + ACTION = "<% $p %>edit/process/cust_pkg_discount.html" + METHOD = POST + onSubmit = "document.DiscountPkgForm.submit.disabled=true;" +> <INPUT TYPE="hidden" NAME="pkgnum" VALUE="<% $pkgnum %>"> <% ntable('#cccccc') %> <TR> - <TH ALIGN="right">Current package </TH> + <TH ALIGN="right">Package </TH> <TD COLSPAN=7> <% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B> - <% $part_pkg->comment |h %> </TD> |