Fixes broken filter clearing links on gantt and calendar (#6473).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4176 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
02b7423b73
commit
53b131ba2a
|
@ -26,7 +26,8 @@
|
|||
}, :class => 'icon icon-checked' %>
|
||||
|
||||
<%= link_to_remote l(:button_clear),
|
||||
{ :url => { :set_filter => (@query.new_record? ? 1 : nil) },
|
||||
{ :url => { :project_id => @project, :set_filter => (@query.new_record? ? 1 : nil) },
|
||||
:method => :put,
|
||||
:update => "content",
|
||||
}, :class => 'icon icon-reload' if @query.new_record? %>
|
||||
</p>
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
}, :class => 'icon icon-checked' %>
|
||||
|
||||
<%= link_to_remote l(:button_clear),
|
||||
{ :url => { :set_filter => (@query.new_record? ? 1 : nil) },
|
||||
{ :url => { :project_id => @project, :set_filter => (@query.new_record? ? 1 : nil) },
|
||||
:method => :put,
|
||||
:update => "content",
|
||||
}, :class => 'icon icon-reload' if @query.new_record? %>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue