##// END OF EJS Templates
Changes pagination links to non-AJAX requests (#5138)....
Jean-Philippe Lang -
r5182:01fed468fa9b
parent child
Show More
@@ -932,9 +932,6 module ApplicationHelper
932 end
932 end
933
933
934 def link_to_content_update(text, url_params = {}, html_options = {})
934 def link_to_content_update(text, url_params = {}, html_options = {})
935 link_to_remote(text,
935 link_to(text, url_params, html_options)
936 {:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'},
937 {:href => url_for(:params => url_params)}.merge(html_options)
938 )
939 end
936 end
940 end
937 end
General Comments 0
You need to be logged in to leave comments. Login now