Commit 13355489 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang Committed by Eric Davis

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
parent 07cf681d
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment