From: ivan Date: Sat, 9 Apr 2011 22:50:02 +0000 (+0000) Subject: fix package selection with classes in IE8, RT#12377 X-Git-Tag: freeside_2_3_0~426 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=70504e07338649649d0a45e9fafd1ba7c67e78c1 fix package selection with classes in IE8, RT#12377 --- 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