diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:01:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:01:32 +0000 |
commit | 0f0fbeb26df61312aeac7cd3dabf3c01f36b8838 (patch) | |
tree | 2a02ce4c39ba1e93134e17468395469d0d968580 /app/views/gantts | |
parent | 7bca8c42121aa2b8d794e3654017d3432c629fe1 (diff) | |
download | redmine-0f0fbeb26df61312aeac7cd3dabf3c01f36b8838.tar.gz redmine-0f0fbeb26df61312aeac7cd3dabf3c01f36b8838.zip |
Makes all pagination-like links use #link_to_content_update (#5138).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5301 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r-- | app/views/gantts/show.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index c43c6639e..ddff80d86 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -169,8 +169,8 @@ if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %> <table width="100%"> <tr> -<td align="left"><%= link_to_remote ('« ' + l(:label_previous)), {:url => params.merge(@gantt.params_previous), :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(params.merge(@gantt.params_previous))} %></td> -<td align="right"><%= link_to_remote (l(:label_next) + ' »'), {:url => params.merge(@gantt.params_next), :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(params.merge(@gantt.params_next))} %></td> +<td align="left"><%= link_to_content_update('« ' + l(:label_previous), params.merge(@gantt.params_previous)) %></td> +<td align="right"><%= link_to_content_update(l(:label_next) + ' »', params.merge(@gantt.params_next)) %></td> </tr> </table> |