Commit 8b1455c9 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Filter values hidden by default to avoid show/hide flashes when loading screen.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@512 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b9be1d12
......@@ -72,7 +72,7 @@ function toggle_multi_select(field) {
<%= select_tag "operators[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');", :class => "select-small", :style => "vertical-align: top;" %>
</td>
<td valign="top">
<div id="div_values_<%= field %>">
<div id="div_values_<%= field %>" style="display:none;">
<% case options[:type]
when :list, :list_optional, :list_status, :list_one_or_more %>
<select <%= "multiple=true" if query.values_for(field) and query.values_for(field).length > 1 %> name="values[<%= field %>][]" id="values_<%= field %>" class="select-small" style="vertical-align: top;">
......
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