Return to section anchor after wiki section edit (#15182).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12239 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-10-26 09:03:08 +00:00
1 parent 7f22cc6113
commit ba083225b7
3 files changed
+9 -5

No files matched your search

+2 -1
View File
@@ -831,7 +831,8 @@ module ApplicationHelper
content_tag('div',
link_to(image_tag('edit.png'), options[:edit_section_links].merge(:section => @current_section)),
:class => 'contextual',
:title => l(:button_edit_section)) + heading.html_safe
:title => l(:button_edit_section),
:id => "section-#{@current_section}") + heading.html_safe
else
heading
end