From ff8a7535a81005b7c66e8e75e5cfa8449a8cef04 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 5 Feb 2016 10:45:12 -0800 Subject: prevent changing Start before picking a package --- httemplate/elements/tr-select-cust-part_pkg.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '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 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' %>, -- cgit v1.2.1