summaryrefslogtreecommitdiff
path: root/httemplate/edit/bulk-part_pkg.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/bulk-part_pkg.html')
-rw-r--r--httemplate/edit/bulk-part_pkg.html9
1 files changed, 2 insertions, 7 deletions
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">&nbsp;</TD>
<TD VALIGN="top">