[freeside-commits] branch FREESIDE_3_BRANCH updated. faf15af4846cb0e5b5e6e75b6f17cc3b60e43b19
Ivan
ivan at 420.am
Wed Dec 14 09:37:05 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via faf15af4846cb0e5b5e6e75b6f17cc3b60e43b19 (commit)
from 16f0ad0c82e6046df66647e8401e3b16f54e0961 (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 faf15af4846cb0e5b5e6e75b6f17cc3b60e43b19
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Dec 14 09:37:02 2016 -0800
add double-click prevention to discount popup/form, RT#73799
diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html
index e814c96..e65c613 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>
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/cust_pkg_discount.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list