fix census tract editing when not using address standardization, #23497
authorMark Wells <mark@freeside.biz>
Thu, 16 Jan 2014 22:50:18 +0000 (14:50 -0800)
committerMark Wells <mark@freeside.biz>
Thu, 16 Jan 2014 22:50:18 +0000 (14:50 -0800)
httemplate/edit/cust_location.cgi

index 774b667..38816db 100755 (executable)
@@ -26,12 +26,8 @@ ACTION="<% $p %>edit/process/cust_location.cgi" METHOD=POST>
 <BR>
 <SCRIPT TYPE="text/javascript">
 function go() {
-% if ( FS::Conf->new->config('address_standardize_method') ) {
-  standardize_locations();
-% } else {
   confirm('Modify this service location?') &&
-    document.EditLocationForm.submit();
-% }
+    standardize_locations();
 }
 
 function submit_abort() {