projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7923b92
)
ask for help assignting geocode more often
author
jeff
<jeff>
Thu, 14 May 2009 16:26:40 +0000
(16:26 +0000)
committer
jeff
<jeff>
Thu, 14 May 2009 16:26:40 +0000
(16:26 +0000)
httemplate/edit/cust_main/bottomfixup.js
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main/bottomfixup.js
b/httemplate/edit/cust_main/bottomfixup.js
index
efe2215
..
ae4aafb
100644
(file)
--- 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'];
var ship_changed = argsHash['ship_address_standardized'];
var error = argsHash['error'];
var ship_error = argsHash['ship_error'];
+
//yay closures
standardize_address = function () {
//yay closures
standardize_address = function () {
@@
-91,7
+92,9
@@
function update_address(arg) {
% if ( $conf->exists('enable_taxproducts') ) {
% 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;
var country_el = cf.elements['<% $taxpre %>country'];
var country = country_el.options[ country_el.selectedIndex ].value;