From 0b94e40c533288be69a4fe60da36a385d31eff7f Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 12 Oct 2009 01:45:12 +0000 Subject: UI for per-city taxes (setup and assigning to customers/package locations), RT#5852 --- httemplate/elements/tr-select-cust_location.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'httemplate/elements/tr-select-cust_location.html') 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; } -- cgit v1.2.1