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:
parent
07cf681d61
commit
1335548949
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue