summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-cust_location.html
diff options
context:
space:
mode:
authorivan <ivan>2009-10-12 01:45:12 +0000
committerivan <ivan>2009-10-12 01:45:12 +0000
commit0b94e40c533288be69a4fe60da36a385d31eff7f (patch)
tree8284d3c555e7b0cdfd731c567059f7f60319e3c0 /httemplate/elements/tr-select-cust_location.html
parent990e040448691dd4bd26c871274c65204cb7707b (diff)
UI for per-city taxes (setup and assigning to customers/package locations), RT#5852
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
-rw-r--r--httemplate/elements/tr-select-cust_location.html5
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;
}