[freeside-commits] branch master updated. 1b5634e53003a9eb24416235a103ae35fd1611b4

Ivan Kohler ivan at freeside.biz
Wed Apr 27 20:58:52 PDT 2022


The branch, master has been updated
       via  1b5634e53003a9eb24416235a103ae35fd1611b4 (commit)
      from  8670a527210dc3ee55f2733a2d4b69043ebf8949 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1b5634e53003a9eb24416235a103ae35fd1611b4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 27 20:58:51 2022 -0700

    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 %>;
 }
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/standardize_locations.js | 6 ++++++
 1 file changed, 6 insertions(+)




More information about the freeside-commits mailing list