[freeside-commits] branch FREESIDE_3_BRANCH updated. 0286b3f17c167e5e54d364b9972f6b055bdfd968

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


The branch, FREESIDE_3_BRANCH has been updated
       via  0286b3f17c167e5e54d364b9972f6b055bdfd968 (commit)
      from  739c78e663837931f98f1c5ed51f968f5cf5f609 (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 0286b3f17c167e5e54d364b9972f6b055bdfd968
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 27 20:58:57 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 0f8eaa98a..cddc02e85 100644
--- a/httemplate/elements/standardize_locations.js
+++ b/httemplate/elements/standardize_locations.js
@@ -328,6 +328,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