projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improvements to bulk DID orders, RT11291
[freeside.git]
/
httemplate
/
elements
/
tr-select-cust-part_pkg.html
diff --git
a/httemplate/elements/tr-select-cust-part_pkg.html
b/httemplate/elements/tr-select-cust-part_pkg.html
index
69400f1
..
878af4d
100644
(file)
--- 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
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
var discountnum = what.form.discountnum;
if ( discountnum ) {
discountnum.disabled = true; //disable discount dropdown