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
pull/351/head
Jean-Philippe Lang 14 years ago
parent 02b7423b73
commit 53b131ba2a
  1. 3
      app/views/calendars/show.html.erb
  2. 3
      app/views/gantts/show.html.erb

@ -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…
Cancel
Save