]> source.dussan.org Git - redmine.git/commitdiff
Filter values hidden by default to avoid show/hide flashes when loading screen.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 16:10:45 +0000 (16:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 16:10:45 +0000 (16:10 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@512 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/queries/_filters.rhtml

index de45f92a779a09612ddb15a024da32a9f4a0d466..af816af95abd0596543494ced034b6686cb03649 100644 (file)
@@ -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;">