[freeside-commits] branch FREESIDE_4_BRANCH updated. eb09c7c7ace14565bcbfa8d547f5574f1e5ad2e1
Christopher Burger
burgerc at freeside.biz
Fri May 10 09:15:25 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via eb09c7c7ace14565bcbfa8d547f5574f1e5ad2e1 (commit)
from 91e063ee85db13b44596ae33442754215f354e64 (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 eb09c7c7ace14565bcbfa8d547f5574f1e5ad2e1
Author: Christopher Burger <burgerc at freeside.biz>
Date: Fri May 10 10:42:33 2019 -0400
RT# 82949 - fixed error where form submits on cancel
diff --git a/httemplate/edit/bulk-part_pkg.html b/httemplate/edit/bulk-part_pkg.html
index 8570cb92c..336c5a9b2 100644
--- a/httemplate/edit/bulk-part_pkg.html
+++ b/httemplate/edit/bulk-part_pkg.html
@@ -8,11 +8,6 @@
<& /elements/error.html &>
<SCRIPT>
- function areyousure() {
- var warning = 'Edit these packages?';
- if(confirm(warning)) { process(); }
- }
-
function toggle_section(what) {
var id = what.id;
var isDisabled;
@@ -26,7 +21,7 @@
}
</SCRIPT>
-<FORM ACTION="process/bulk-part_pkg.html" METHOD="POST">
+<FORM ACTION="process/bulk-part_pkg.html" METHOD="POST" onsubmit="return confirm('Edit these packages?');">
<TABLE>
<TR>
<TD VALIGN="top">
@@ -72,7 +67,7 @@ Edit pricing fields.
</TABLE>
</DIV>
<BR>
-<INPUT TYPE="submit" VALUE="Bulk change packages" onclick="areyousure()">
+<INPUT TYPE="submit" VALUE="Bulk change packages">
</TD>
<TD WIDTH="5"> </TD>
<TD VALIGN="top">
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/bulk-part_pkg.html | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list