X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fstandardize_locations.js;h=54a554ff22f8b5bacc961d035d69e020a5f15019;hp=15d687cf34c0e84481646ae6bd47b32482927abe;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=a2ecb1cf6a6c084c521710f1256da082f70ba9e5 diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js index 15d687cf3..54a554ff2 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 } @@ -207,8 +207,8 @@ function post_standardization() { 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; @@ -238,12 +238,12 @@ function post_standardization() { } - } else { - - cf.elements[prefix + 'geocode'].value = ''; - <% $post_geocode %>; - - } +// } else { +// +// cf.elements[prefix + 'geocode'].value = ''; +// <% $post_geocode %>; +// +// } % } else {