fix location edit/tax district lookup interaction, #16757
authorMark Wells <mark@freeside.biz>
Wed, 28 Mar 2012 21:00:45 +0000 (14:00 -0700)
committerMark Wells <mark@freeside.biz>
Wed, 28 Mar 2012 21:00:45 +0000 (14:00 -0700)
httemplate/elements/city.html

index f6d2b4b..6a2142f 100644 (file)
@@ -107,7 +107,11 @@ function <% $pre %>county_changed(what, callback) {}
        <% $text_style %>
 >
 
-% if ( !$disable_select ) {
+% if ( $disable_select ) {
+%# avoid JS errors
+<INPUT TYPE="hidden" ID="city_select">
+% }
+% else {
 
 <SELECT NAME     = "<%$pre%>city_select"
         ID       = "<%$pre%>city_select"