Makes all pagination-like links use #link_to_content_update (#5138).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5301 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
7bca8c4212
commit
0f0fbeb26d
7 files changed
+26
-47
No files matched your search
@@ -206,10 +206,7 @@ module SortHelper
|
||||
# Add project_id to url_options
|
||||
url_options = url_options.merge(:project_id => params[:project_id]) if params.has_key?(:project_id)
|
||||
|
||||
link_to_remote(caption,
|
||||
{:update => "content", :url => url_options, :method => :get},
|
||||
{:href => url_for(url_options),
|
||||
:class => css})
|
||||
link_to_content_update(caption, url_options, :class => css)
|
||||
end
|
||||
|
||||
# Returns a table header <th> tag with a sort link for the named column
|
||||
|
||||
Reference in new issue
Block a user