Commit 61c5777b authored by ghendricks%novell.com's avatar ghendricks%novell.com

Bug 539229 - Editing a search with resolution '---' does not remember that resolution

patch by ghendricks r=LpSolit a=LpSolit
parent 47193c65
...@@ -624,10 +624,11 @@ function doOnSelectProduct(selectmode) { ...@@ -624,10 +624,11 @@ function doOnSelectProduct(selectmode) {
<select name="[% sel.name %]" id="[% sel.name %]" <select name="[% sel.name %]" id="[% sel.name %]"
multiple="multiple" size="[% sel.size %]"> multiple="multiple" size="[% sel.size %]">
[% FOREACH value = ${sel.name} %] [% FOREACH value = ${sel.name} %]
[% IF value.id %] [% IF value.id %]
[%# This only applies for Resolution really %] [%# This only applies for Resolution really %]
<option value="[% value.name OR '---' FILTER html %]" [% v = value.name OR '---' -%]
[% " selected" IF lsearch(default.${sel.name}, value.name) != -1 %]> <option value="[% v FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, v) != -1 %]>
[% display_value(sel.name, value.name) FILTER html %] [% display_value(sel.name, value.name) FILTER html %]
</option> </option>
[% ELSE %] [% ELSE %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment