X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcity.html;h=956d353bd5a6b237434afc9a701f227be6f3af19;hb=8d534e61d74e561a15f0863a835cda4af639a9ea;hp=d774cce5942c76730826a0d8e49b0478ef6dc76d;hpb=22773e1b0288fc296c30ba99e2d37a8f4193a462;p=freeside.git diff --git a/httemplate/elements/city.html b/httemplate/elements/city.html index d774cce59..956d353bd 100644 --- a/httemplate/elements/city.html +++ b/httemplate/elements/city.html @@ -65,9 +65,10 @@ Example: what.form.<% $pre %>city.style.display = 'none'; what.form.<% $pre %>city_select.style.display = ''; } 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 = ''; what.form.<% $pre %>city_select.style.display = 'none'; - what.form.<%$ pre %>city.value = saved_<%$pre%>city; } //run the callback