projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83122 Do not auto-repair wa state sales tax rows
[freeside.git]
/
httemplate
/
elements
/
standardize_locations.js
diff --git
a/httemplate/elements/standardize_locations.js
b/httemplate/elements/standardize_locations.js
index
0c4fb02
..
54a554f
100644
(file)
--- a/
httemplate/elements/standardize_locations.js
+++ b/
httemplate/elements/standardize_locations.js
@@
-1,7
+1,7
@@
function status_message(text, caption) {
text = '<P STYLE="position:absolute; top:50%; margin-top:-1em; width:100%; text-align:center"><B><FONT SIZE="+1">' + text + '</FONT></B></P>';
caption = caption || 'Please wait...';
function status_message(text, caption) {
text = '<P STYLE="position:absolute; top:50%; margin-top:-1em; width:100%; text-align:center"><B><FONT SIZE="+1">' + text + '</FONT></B></P>';
caption = caption || 'Please wait...';
- overlib(text, WIDTH, 444, HEIGHT, 168, CAPTION, caption, STICKY, AUTOSTATUSCAP, CLOSECLICK, MIDX, 0, MIDY, 0);
+ overlib(text, WIDTH, 444, HEIGHT, 168, CAPTION, caption, STICKY, AUTOSTATUSCAP, CLOSECLICK,
NOCLOSE,
MIDX, 0, MIDY, 0);
}
function form_address_info() {
}
function form_address_info() {
@@
-94,7
+94,7
@@
function standardize_locations() {
% } else {
% } else {
-
post_standardization
();
+
confirm_manual_address
();
% } # if address_standardize_method
}
% } # if address_standardize_method
}
@@
-115,7
+115,7
@@
function confirm_standardize(arg) {
// then all entered address fields are correct
// but we still need to set the lat/long fields and addr_clean
// then all entered address fields are correct
// but we still need to set the lat/long fields and addr_clean
- if ( returned['a
ddr
_clean'] ) {
+ if ( returned['a
ll
_clean'] ) {
status_message('Verified');
} else {
status_message('Unverified');
status_message('Verified');
} else {
status_message('Unverified');
@@
-207,8
+207,8
@@
function post_standardization() {
prefix = 'bill_';
}
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;
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 {
% } else {