[freeside-commits] freeside/httemplate/edit/cust_main bottomfixup.js, 1.1, 1.2

Jeff Finucane,420,, jeff at wavetail.420.am
Thu May 14 09:26:42 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv7187

Modified Files:
	bottomfixup.js 
Log Message:
ask for help assignting geocode more often

Index: bottomfixup.js
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/bottomfixup.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bottomfixup.js	12 Apr 2009 06:09:11 -0000	1.1
+++ bottomfixup.js	14 May 2009 16:26:40 -0000	1.2
@@ -59,6 +59,7 @@
   var ship_changed = argsHash['ship_address_standardized'];
   var error = argsHash['error'];
   var ship_error = argsHash['ship_error'];
+  
 
   //yay closures
   standardize_address = function () {
@@ -91,7 +92,9 @@
 
 % if ( $conf->exists('enable_taxproducts') ) {
 
-  if ( <% $taxpre %>error ) {
+  if ( <% $taxpre %>error ||
+       new String(argsHash['new_<% $taxpre %>zip']).length < 10 )
+  {
 
     var country_el = cf.elements['<% $taxpre %>country'];
     var country = country_el.options[ country_el.selectedIndex ].value;



More information about the freeside-commits mailing list