diff options
author | jeff <jeff> | 2009-05-14 16:26:40 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-05-14 16:26:40 +0000 |
commit | 5f675c352a10f555de5831bb76ab00b35b6b9bd1 (patch) | |
tree | 009bbc97c87be7336fa1a9959f7d508c23aa8a2e /httemplate/edit | |
parent | 7923b92cdd671e1b13c951af33c11b0ac25dd894 (diff) |
ask for help assignting geocode more often
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/bottomfixup.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js index efe2215c8..ae4aafb70 100644 --- a/httemplate/edit/cust_main/bottomfixup.js +++ b/httemplate/edit/cust_main/bottomfixup.js @@ -59,6 +59,7 @@ function update_address(arg) { 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 @@ function update_address(arg) { % 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; |