From 1335548949efcc95f539dd7444664c9eb5269cbc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Apr 2011 14:06:53 +0000 Subject: [PATCH] Changes pagination links to non-AJAX requests (#5138). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5302 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 90439b7d..69d55f34 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -942,9 +942,6 @@ module ApplicationHelper end def link_to_content_update(text, url_params = {}, html_options = {}) - link_to_remote(text, - {:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, - {:href => url_for(:params => url_params)}.merge(html_options) - ) + link_to(text, url_params, html_options) end end