Optimize "Customer has a referring customer" condition, RT#74452
[freeside.git] / httemplate / elements / standardize_locations.js
index ecccd90..54a554f 100644 (file)
@@ -94,7 +94,7 @@ function standardize_locations() {
 
 % } else {
 
-  post_standardization();
+  confirm_manual_address();
 
 % } # if address_standardize_method
 }
@@ -207,8 +207,8 @@ function post_standardization() {
     prefix = 'bill_';
   }
 
-  if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
-  {
+//  if ( new String(cf.elements[prefix + 'zip'].value).length < 10 )
+//  {
 
     var country_el = cf.elements[prefix + 'country'];
     var country = country_el.options[ country_el.selectedIndex ].value;
@@ -238,12 +238,12 @@ function post_standardization() {
 
     }
 
-  } else {
-
-    cf.elements[prefix + 'geocode'].value = '';
-    <% $post_geocode %>;
-
-  }
+//  } else {
+//
+//    cf.elements[prefix + 'geocode'].value = '';
+//    <% $post_geocode %>;
+//
+//  }
 
 % } else {