projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e79d507
)
fix city blanking on county change, RT#9627
author
ivan
<ivan>
Fri, 13 Aug 2010 23:53:00 +0000
(23:53 +0000)
committer
ivan
<ivan>
Fri, 13 Aug 2010 23:53:00 +0000
(23:53 +0000)
httemplate/elements/city.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/city.html
b/httemplate/elements/city.html
index
61d0578
..
d774cce
100644
(file)
--- a/
httemplate/elements/city.html
+++ b/
httemplate/elements/city.html
@@
-64,11
+64,10
@@
Example:
<%$pre%>city_select_changed(what.form.<% $pre %>city_select);
what.form.<% $pre %>city.style.display = 'none';
what.form.<% $pre %>city_select.style.display = '';
<%$pre%>city_select_changed(what.form.<% $pre %>city_select);
what.form.<% $pre %>city.style.display = 'none';
what.form.<% $pre %>city_select.style.display = '';
- } else {
- // turn on the text city, turn off the select
- what.form.<%$ pre %>city.value = saved_<%$pre%>city;
+ } else if ( what.form.<% $pre %>city.style.display == 'none' ) {
what.form.<% $pre %>city.style.display = '';
what.form.<% $pre %>city_select.style.display = 'none';
what.form.<% $pre %>city.style.display = '';
what.form.<% $pre %>city_select.style.display = 'none';
+ what.form.<%$ pre %>city.value = saved_<%$pre%>city;
}
//run the callback
}
//run the callback