diff options
author | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 20:58:51 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 20:58:51 -0700 |
commit | 1b5634e53003a9eb24416235a103ae35fd1611b4 (patch) | |
tree | 3f8a993eb582de924808afa8dfb1f5d05885855a /httemplate | |
parent | 8670a527210dc3ee55f2733a2d4b69043ebf8949 (diff) |
restore correct workflow when no census match is found: offer map-based picker, RT#86245, RT#76968
Diffstat (limited to 'httemplate')
-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 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 %>; } |