projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e282b8
)
RT# 80488 Current city value always exists in cities selectbox
author
Mitch Jackson
<mitch@freeside.biz>
Wed, 12 Jun 2019 07:24:26 +0000
(
03:24
-0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Wed, 12 Jun 2019 07:24:26 +0000
(
03:24
-0400)
httemplate/elements/city.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/city.html
b/httemplate/elements/city.html
index
3c5e917
..
f710d04
100644
(file)
--- a/
httemplate/elements/city.html
+++ b/
httemplate/elements/city.html
@@
-131,6
+131,10
@@
function <% $pre %>county_changed(what, callback) {}
<% $select_style %>
>
<% $select_style %>
>
+% if ( $opt{city} ) {
+ <OPTION VALUE="<% $opt{city} %>" SELECTED><% $opt{city} %></OPTION>
+% }
+
% unless ( $opt{'disable_empty'} ) {
<OPTION VALUE="" <% $opt{city} eq '' ? 'SELECTED' : '' %>><% $opt{empty_label} %></OPTION>
% }
% unless ( $opt{'disable_empty'} ) {
<OPTION VALUE="" <% $opt{city} eq '' ? 'SELECTED' : '' %>><% $opt{empty_label} %></OPTION>
% }