OSDN Git Service

Ajaxified issue filter reset link
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 15:59:06 +0000 (15:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 15:59:06 +0000 (15:59 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@511 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/list_issues.rhtml

index 60c72eb..22e3b14 100644 (file)
                        { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 },
                          :update => "content",
                          :with => "Form.serialize('query_form')"
-                       }, :class => 'icon icon-edit' %> 
-    
-    <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'icon icon-del'  %>
-    <% if authorize_for('projects', 'add_query') %>
-    
+                       }, :class => 'icon icon-edit' %>
+                       
+    <%= link_to_remote l(:button_clear),
+                       { :url => {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, 
+                         :update => "content",
+                       }, :class => 'icon icon-del'  %>
+                       
+    <% if authorize_for('projects', 'add_query') %>    
     <%= link_to_remote l(:button_save), 
                        { :url => { :controller => 'projects', :action => "add_query", :id => @project },
                          :method => 'get',