X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcity.html;h=956d353bd5a6b237434afc9a701f227be6f3af19;hb=31f2e890b5b3e1b0ad29a877ff67bc641ea1fc40;hp=61d057889e016cad5c2f1492c5e6d9745f0589a2;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/elements/city.html b/httemplate/elements/city.html index 61d057889..956d353bd 100644 --- a/httemplate/elements/city.html +++ b/httemplate/elements/city.html @@ -64,7 +64,7 @@ Example: <%$pre%>city_select_changed(what.form.<% $pre %>city_select); what.form.<% $pre %>city.style.display = 'none'; what.form.<% $pre %>city_select.style.display = ''; - } else { + } else if ( what.form.<% $pre %>city.style.display == 'none' ) { // turn on the text city, turn off the select what.form.<%$ pre %>city.value = saved_<%$pre%>city; what.form.<% $pre %>city.style.display = '';