diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 09:03:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 09:03:08 +0000 |
commit | ba083225b7403b826c634ca3d0ce777c8445daf0 (patch) | |
tree | 19048b22c351f853c2bef8a697378acad41e987e /app/helpers | |
parent | 7f22cc611311b403a04e1d54ce75a4b4357651c3 (diff) | |
download | redmine-ba083225b7403b826c634ca3d0ce777c8445daf0.tar.gz redmine-ba083225b7403b826c634ca3d0ce777c8445daf0.zip |
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
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e5b75c4cf..2b37ad312 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 |