diff options
author | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 20:58:54 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 20:58:54 -0700 |
commit | b23875a21c163310af2597424f3b4e782ffcf022 (patch) | |
tree | 799574631bea1cbd32afc03dbfe9e5c176f3d8a0 | |
parent | 529b2019dc860419dfaff52ed497af12adfad7a3 (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.js | 6 |
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 %>; } |