summaryrefslogtreecommitdiffstats
path: root/app/views/calendars
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-09-26 07:51:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-09-26 07:51:10 +0000
commit53b131ba2a68e6aa21aae388d571e8b77ffe7aa9 (patch)
tree9e67aed3e3d0bc94d25e6586ad2fea63328f494a /app/views/calendars
parent02b7423b736ea465e7a2e8caf7de73f533f0db8a (diff)
downloadredmine-53b131ba2a68e6aa21aae388d571e8b77ffe7aa9.tar.gz
redmine-53b131ba2a68e6aa21aae388d571e8b77ffe7aa9.zip
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
Diffstat (limited to 'app/views/calendars')
-rw-r--r--app/views/calendars/show.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb
index 530416661..a898f9895 100644
--- a/app/views/calendars/show.html.erb
+++ b/app/views/calendars/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>