diff options
author | ivan <ivan> | 2011-04-11 23:06:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-11 23:06:16 +0000 |
commit | 990ffbe494523af17f1a3551a020e306ad9f8d7a (patch) | |
tree | 68da8ca62b98610b45bacc3b5f66ae4aa46f7430 /httemplate/misc/change_pkg.cgi | |
parent | 2579dce95f2a41d7a162404f193545e9601c374d (diff) |
fix usps-validation misfire and inability to submit on change package too, RT#12377, RT#12183
Diffstat (limited to 'httemplate/misc/change_pkg.cgi')
-rwxr-xr-x | httemplate/misc/change_pkg.cgi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi index ec10b85cf..8f0067d2d 100755 --- a/httemplate/misc/change_pkg.cgi +++ b/httemplate/misc/change_pkg.cgi @@ -1,5 +1,7 @@ <% 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> @@ -40,7 +42,12 @@ %> <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> |