X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fcontact.html;h=798af709058bdf95e51045613face6eec5f049b9;hp=7ae0d48802e880bc8414a7f7d43e18f265fb6ffc;hb=f5481d63043954fa6fa8a34a5820b23408192f8b;hpb=5b0df166c22e13eba83fabee858846ead6a54141 diff --git a/fs_selfservice/FS-SelfService/cgi/contact.html b/fs_selfservice/FS-SelfService/cgi/contact.html index 7ae0d4880..798af7090 100644 --- a/fs_selfservice/FS-SelfService/cgi/contact.html +++ b/fs_selfservice/FS-SelfService/cgi/contact.html @@ -42,14 +42,11 @@ - <%=$r%>City - - > - <%= - ($county_html, $state_html, $country_html) = + ($county_html, $state_html, $country_html, $city_html) = FS::SelfService::regionselector( { prefix => $pre, + selected_city => ${$pre.'city'}, selected_county => ${$pre.'county'}, selected_state => ${$pre.'state'}, selected_country => ${$pre.'country'}, @@ -58,6 +55,8 @@ locales => \@cust_main_county, } ); + $OUT .= qq!${r}City!; + $OUT .= qq!$city_html!; $OUT .= qq!${r}State/County!; $OUT .= qq!$county_html $state_html!; $OUT .= qq!${r}Zip!; @@ -73,7 +72,7 @@ <%= if ( $disabled ) { $OUT .= qq!var what = document.getElementById("${pre}city");!; - for (qw( county state country ) ) { + for (qw( city county state country ) ) { $OUT .= "what.form.$pre$_.disabled = true;"; $OUT .= "what.form.$pre$_.style.backgroundColor = '#dddddd';"; }