diff options
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
-rw-r--r-- | httemplate/elements/tr-select-cust_location.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index da16dfe1c..ab043ee7e 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -21,7 +21,7 @@ Example: var locationnum = what.options[what.selectedIndex].value; if ( locationnum == -1 ) { -% for (@location_fields) { +% for (@location_fields, 'city_select') { what.form.<%$_%>.disabled = false; what.form.<%$_%>.style.backgroundColor = '#ffffff'; % } @@ -60,7 +60,7 @@ Example: } %#sleep/wait until dropdowns are updated? -% for (@location_fields) { +% for (@location_fields, 'city_select') { what.form.<%$_%>.disabled = true; what.form.<%$_%>.style.backgroundColor = '#dddddd'; % } @@ -85,6 +85,7 @@ Example: } else { county_el.selectedIndex = 0; } + county_changed(county_el); } return fix_county; } |