combine ticket notification scrips, #15353
[freeside.git] / httemplate / elements / city.html
index 0e1bf8d..956d353 100644 (file)
@@ -66,9 +66,9 @@ Example:
         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