X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcity.html;h=f710d04db38fed351d300a298f05b9f20aec0dac;hb=5d36f5f81d84e116caae80667e37750e6798e2b1;hp=05250fef559600500930bcc06d42f8e11c6bd69e;hpb=7a177f82917a57bc1a0a8ef4a4608aca24773624;p=freeside.git diff --git a/httemplate/elements/city.html b/httemplate/elements/city.html index 05250fef5..f710d04db 100644 --- a/httemplate/elements/city.html +++ b/httemplate/elements/city.html @@ -131,6 +131,10 @@ function <% $pre %>county_changed(what, callback) {} <% $select_style %> > +% if ( $opt{city} ) { + +% } + % unless ( $opt{'disable_empty'} ) { % } @@ -153,9 +157,7 @@ my %opt = @_; my $pre = $opt{'prefix'}; my $conf = new FS::Conf; -# Using tax_district_method implies that there's not a preloaded city/county -# tax district table. -my $disable_select = 1 if $conf->config('tax_district_method'); +my $disable_select = 0; $opt{'disable_empty'} = 1 unless exists($opt{'disable_empty'});