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
This commit is contained in:
Jean-Philippe Lang 2011-04-03 14:06:53 +00:00
parent 0f0fbeb26d
commit 01fed468fa
1 changed files with 1 additions and 4 deletions

View File

@ -932,9 +932,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