projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix usps-validation misfire and inability to submit on change package too, RT#12377...
[freeside.git]
/
httemplate
/
misc
/
change_pkg.cgi
diff --git
a/httemplate/misc/change_pkg.cgi
b/httemplate/misc/change_pkg.cgi
index
ec10b85
..
8f0067d
100755
(executable)
--- a/
httemplate/misc/change_pkg.cgi
+++ b/
httemplate/misc/change_pkg.cgi
@@
-1,5
+1,7
@@
<% include('/elements/header-popup.html', "Change Package") %>
<% include('/elements/header-popup.html', "Change Package") %>
+<SCRIPT TYPE="text/javascript" SRC="../elements/order_pkg.js"></SCRIPT>
+
<% include('/elements/error.html') %>
<FORM NAME="OrderPkgForm" ACTION="<% $p %>edit/process/change-cust_pkg.html" METHOD=POST>
<% include('/elements/error.html') %>
<FORM NAME="OrderPkgForm" ACTION="<% $p %>edit/process/change-cust_pkg.html" METHOD=POST>
@@
-40,7
+42,12
@@
%>
<BR>
%>
<BR>
-<INPUT NAME="submitButton" TYPE="button" VALUE="Change package" onClick="this.disabled=true; standardize_locations();">
+<INPUT NAME = "submitButton"
+ TYPE = "button"
+ VALUE = "Change package"
+ onClick = "this.disabled=true; standardize_new_location();"
+ <% scalar($cgi->param('pkgpart')) ? '' : 'DISABLED' %>
+>
</FORM>
</BODY>
</FORM>
</BODY>