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
This commit is contained in:
parent
b9be1d1268
commit
8b1455c945
|
@ -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;">
|
||||
|
|
Loading…
Reference in New Issue