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
0f0fbeb26d
commit
01fed468fa
|
@ -932,9 +932,6 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def link_to_content_update(text, url_params = {}, html_options = {})
|
def link_to_content_update(text, url_params = {}, html_options = {})
|
||||||
link_to_remote(text,
|
link_to(text, url_params, html_options)
|
||||||
{:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'},
|
|
||||||
{:href => url_for(:params => url_params)}.merge(html_options)
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue