X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust-part_pkg.html;h=878af4d90a046af17ba3c6c7f54fb3292a428830;hb=2579dce95f2a41d7a162404f193545e9601c374d;hp=69400f16ac87f97e653e21a344945ae067d53e03;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git 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