var ship_changed = argsHash['ship_address_standardized'];
var error = argsHash['error'];
var ship_error = argsHash['ship_error'];
+
//yay closures
standardize_address = function () {
% 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;