X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fstandardize_locations.js;h=0f8eaa98a28e5b70467582b9df717c1e6f7daf63;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=c2857377a5aef662abd699373d2f2acf95e6a077;hpb=a5464ff6f8f41685a3a325558805751c159b67e7;p=freeside.git diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js index c2857377a..0f8eaa98a 100644 --- a/httemplate/elements/standardize_locations.js +++ b/httemplate/elements/standardize_locations.js @@ -1,7 +1,7 @@ function status_message(text, caption) { text = '

' + text + '

'; 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() { @@ -94,7 +94,7 @@ function standardize_locations() { % } else { - post_standardization(); + confirm_manual_address(); % } # if address_standardize_method } @@ -114,7 +114,12 @@ function confirm_standardize(arg) { // then all entered address fields are correct // but we still need to set the lat/long fields and addr_clean - status_message('Verified'); + + if ( returned['all_clean'] ) { + status_message('Verified'); + } else { + status_message('Unverified'); + } replace_address(); } else {