diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-02-05 10:45:12 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-02-05 10:45:12 -0800 |
commit | ff8a7535a81005b7c66e8e75e5cfa8449a8cef04 (patch) | |
tree | f87bcb2687b09b88d509201aeff3ba5bfcc3285f /httemplate/elements/tr-select-cust-part_pkg.html | |
parent | fcd7e712ea5286c418dd4f77c4faa41544d95f0b (diff) |
prevent changing Start before picking a package
Diffstat (limited to 'httemplate/elements/tr-select-cust-part_pkg.html')
-rw-r--r-- | httemplate/elements/tr-select-cust-part_pkg.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust-part_pkg.html b/httemplate/elements/tr-select-cust-part_pkg.html index 23916d9e2..6244b6cb7 100644 --- a/httemplate/elements/tr-select-cust-part_pkg.html +++ b/httemplate/elements/tr-select-cust-part_pkg.html @@ -53,9 +53,11 @@ what.form.pkgpart.disabled = ''; //re-enable part_pkg dropdown % if ( $opt{'curr_value'} ) { - what.form.pkgpart.value = <% $opt{'curr_value'} %>; + what.form.pkgpart.value = <% $opt{'curr_value'} %>; % } + pkg_changed(); + } get_part_pkg( <% $cust_main ? $cust_main->custnum : '0' %>, |