projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8670a52
)
restore correct workflow when no census match is found: offer map-based picker, RT...
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 28 Apr 2022 03:58:51 +0000
(20:58 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 28 Apr 2022 03:58:51 +0000
(20:58 -0700)
httemplate/elements/standardize_locations.js
patch
|
blob
|
history
diff --git
a/httemplate/elements/standardize_locations.js
b/httemplate/elements/standardize_locations.js
index
54a554f
..
140ed70
100644
(file)
--- 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 %>;
}