From 1b5634e53003a9eb24416235a103ae35fd1611b4 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 27 Apr 2022 20:58:51 -0700 Subject: [PATCH] restore correct workflow when no census match is found: offer map-based picker, RT#86245, RT#76968 --- httemplate/elements/standardize_locations.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js index 54a554ff2..140ed70c6 100644 --- a/httemplate/elements/standardize_locations.js +++ b/httemplate/elements/standardize_locations.js @@ -325,6 +325,12 @@ function set_censustract(tract, year) { var form = document.<% $formname %>; form.elements['censustract'].value = tract; form.elements['censusyear'].value = year; + + var enter = form.elements['enter_censustract']; + if ( enter ) { + enter.value = tract; + } + <% $post_censustract %>; } -- 2.11.0