filters-collapsed.patch.txt

Joel Nordell, 2010-01-21 18:06

Download (767 Bytes)

 
1
Index: app/views/issues/index.rhtml
2
===================================================================
3
--- app/views/issues/index.rhtml	(revision 3335)
4
+++ app/views/issues/index.rhtml	(working copy)
5
@@ -11,9 +11,9 @@
6
 <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
7
     <%= hidden_field_tag('project_id', @project.to_param) if @project %>
8
 		<div id="query_form_content">
9
-    <fieldset id="filters" class="collapsible">
10
+    <fieldset id="filters" class="collapsible collapsed">
11
     	<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
12
-    	<div>
13
+    	<div style="display: none;">
14
     		<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
15
     	</div>
16
     </fieldset>