summaryrefslogtreecommitdiffstats
path: root/app/helpers/gantt_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 14:34:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 14:34:44 +0000
commita80b909cc8f7f0ca47744093ff0decaaa45f2264 (patch)
treeb9708ef62d92b36f8ed0346f2099b5c589d8e2dc /app/helpers/gantt_helper.rb
parentcf8d19592995b4ca55b0a113a0645edd5f917345 (diff)
downloadredmine-a80b909cc8f7f0ca47744093ff0decaaa45f2264.tar.gz
redmine-a80b909cc8f7f0ca47744093ff0decaaa45f2264.zip
Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/gantt_helper.rb')
-rw-r--r--app/helpers/gantt_helper.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb
index aa7438562..03a48c4f3 100644
--- a/app/helpers/gantt_helper.rb
+++ b/app/helpers/gantt_helper.rb
@@ -1,5 +1,5 @@
-# redMine - project management software
-# Copyright (C) 2006 Jean-Philippe Lang
+# Redmine - project management software
+# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -22,8 +22,8 @@ module GanttHelper
when :in
if gantt.zoom < 4
link_to_remote(l(:text_zoom_in),
- {:url => gantt.params.merge(:zoom => (gantt.zoom+1)), :method => :get, :update => 'content'},
- {:href => url_for(gantt.params.merge(:zoom => (gantt.zoom+1))),
+ {:url => params.merge(gantt.params.merge(:zoom => (gantt.zoom+1))), :method => :get, :update => 'content'},
+ {:href => url_for(params.merge(gantt.params.merge(:zoom => (gantt.zoom+1)))),
:class => 'icon icon-zoom-in'})
else
content_tag('span', l(:text_zoom_in), :class => 'icon icon-zoom-in')
@@ -32,8 +32,8 @@ module GanttHelper
when :out
if gantt.zoom > 1
link_to_remote(l(:text_zoom_out),
- {:url => gantt.params.merge(:zoom => (gantt.zoom-1)), :method => :get, :update => 'content'},
- {:href => url_for(gantt.params.merge(:zoom => (gantt.zoom-1))),
+ {:url => params.merge(gantt.params.merge(:zoom => (gantt.zoom-1))), :method => :get, :update => 'content'},
+ {:href => url_for(params.merge(gantt.params.merge(:zoom => (gantt.zoom-1)))),
:class => 'icon icon-zoom-out'})
else
content_tag('span', l(:text_zoom_out), :class => 'icon icon-zoom-out')