From: Ivan Kohler Date: Thu, 28 Apr 2022 03:58:51 +0000 (-0700) Subject: restore correct workflow when no census match is found: offer map-based picker, RT... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1b5634e53003a9eb24416235a103ae35fd1611b4 restore correct workflow when no census match is found: offer map-based picker, RT#86245, RT#76968 --- 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 %>; }