summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-04-09 22:50:03 +0000
committerivan <ivan>2011-04-09 22:50:03 +0000
commiteae449ca7b1eada7e7859292e976eb714d804b32 (patch)
tree79fdfe5c3c6af5cfe6e86afb9e44b11bf4312353
parent20aab78c6a3d1c9e5a513e4df49c9bfd6ec57295 (diff)
fix package selection with classes in IE8, RT#12377
-rw-r--r--httemplate/elements/tr-select-cust-part_pkg.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust-part_pkg.html b/httemplate/elements/tr-select-cust-part_pkg.html
index 69400f16a..878af4d90 100644
--- a/httemplate/elements/tr-select-cust-part_pkg.html
+++ b/httemplate/elements/tr-select-cust-part_pkg.html
@@ -18,7 +18,10 @@
function classnum_changed(what) {
what.form.pkgpart.disabled = 'disabled'; //disable part_pkg dropdown
- what.form.submit.disabled = true; //disable the submit button
+ var submitButton = what.form.submitButton; // || what.form.submit;
+ if ( submitButton ) {
+ submitButton.disabled = true; //disable the submit button
+ }
var discountnum = what.form.discountnum;
if ( discountnum ) {
discountnum.disabled = true; //disable discount dropdown