X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fstandardize_locations.js;h=ecccd90f19dd59db8588b0ab3ba6f081b4170a83;hb=d4114381c5d95e8acd0d0fc2bbc2b3528bde2ecf;hp=b824fb2494060f86a89d4ca4989c3588ad1b5147;hpb=e0aacf68c8c7bbd4d3609731d6a1a2fe7d7e3d1d;p=freeside.git diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js index b824fb249..ecccd90f1 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() { @@ -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 {