diff options
author | 2013-08-08 21:58:19 +0200 | |
---|---|---|
committer | 2013-08-08 21:58:19 +0200 | |
commit | 1c4f807f46d52b0237e405ab97d4dae88949eee8 (patch) | |
tree | a827169a81780bb54cb1b2d14b2cde2757e780c9 | |
parent | Bug 901620 - Grammar error in the documentation (diff) | |
download | bugzilla-1c4f807f46d52b0237e405ab97d4dae88949eee8.tar.gz bugzilla-1c4f807f46d52b0237e405ab97d4dae88949eee8.tar.bz2 bugzilla-1c4f807f46d52b0237e405ab97d4dae88949eee8.zip |
Bug 899586: Consecutive whitespaces in field values are ignored in <select> elements
r=sgreen a=glob
-rw-r--r-- | template/en/default/search/field.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl index ab7380857..45c3650f8 100644 --- a/template/en/default/search/field.html.tmpl +++ b/template/en/default/search/field.html.tmpl @@ -105,7 +105,7 @@ [% FOREACH current_value = legal_values %] [% SET v = current_value.name OR '---' -%] [% SET display = display_value(field.name, current_value.name) %] - <option [% IF v != display %]value="[% v FILTER html %]"[% END ~%] + <option value="[% v FILTER html %]" id="v[% current_value.id FILTER html %]_[% field.name FILTER html %]" [% ' selected="selected"' IF value.contains( v ) %]> [%~ display FILTER html ~%] |