summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2022-04-27 20:58:54 -0700
committerIvan Kohler <ivan@freeside.biz>2022-04-27 20:58:54 -0700
commitb23875a21c163310af2597424f3b4e782ffcf022 (patch)
tree799574631bea1cbd32afc03dbfe9e5c176f3d8a0
parent529b2019dc860419dfaff52ed497af12adfad7a3 (diff)
restore correct workflow when no census match is found: offer map-based picker, RT#86245, RT#76968
-rw-r--r--httemplate/elements/standardize_locations.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/standardize_locations.js b/httemplate/elements/standardize_locations.js
index 77c709a..8de103e 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 %>;
}