summaryrefslogtreecommitdiff
path: root/httemplate/elements/standardize_locations.js
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-12-02 15:43:20 -0800
committerMark Wells <mark@freeside.biz>2014-12-02 15:43:20 -0800
commitb79d815338e1895fce025aef5dcb5f9f42028562 (patch)
tree1a6061c3403062beb3ad26d1c6d4417b8ab16052 /httemplate/elements/standardize_locations.js
parent99ee0e1e3b2e5e35e7fc4e8aed2093841dd3d852 (diff)
when address standardization returns a censustract, don't try to look it up through FFIEC also, #32459
Diffstat (limited to 'httemplate/elements/standardize_locations.js')
-rw-r--r--httemplate/elements/standardize_locations.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js
index 307f822c9..f114e341c 100644
--- a/httemplate/elements/standardize_locations.js
+++ b/httemplate/elements/standardize_locations.js
@@ -282,10 +282,7 @@ function setselect(el, value) {
function confirm_censustract() {
% if ( FS::Conf->new->exists('cust_main-require_censustract') ) {
var form = document.<% $formname %>;
- // this is the existing/confirmed censustract, not the manually entered one
- if ( form.elements['censustract'].value == '' ||
- form.elements['censustract'].value !=
- form.elements['enter_censustract'].value ) {
+ if ( form.elements['censustract'].value == '' ) {
var address_info = form_address_info();
address_info['latitude'] = form.elements['latitude'].value;
address_info['longitude'] = form.elements['longitude'].value;