diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-06 14:30:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-06 14:30:32 +0000 |
commit | 666c54e86c2a8532ff9330d7ce4e9e7d3a44b173 (patch) | |
tree | b7d8fde2ea2b7f3dd9277bb32be5f931836be1fe /app/helpers/wiki_helper.rb | |
parent | f79a6f701a6bd0ef086fbdb40c2bb7622f048afc (diff) | |
download | redmine-666c54e86c2a8532ff9330d7ce4e9e7d3a44b173.tar.gz redmine-666c54e86c2a8532ff9330d7ce4e9e7d3a44b173.zip |
Adds a combo to select parent on wiki page rename (#5136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4375 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/wiki_helper.rb')
-rw-r--r-- | app/helpers/wiki_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb index c25064616..19e252bcb 100644 --- a/app/helpers/wiki_helper.rb +++ b/app/helpers/wiki_helper.rb @@ -24,7 +24,7 @@ module WikiHelper attrs << " selected='selected'" if selected == page indent = (level > 0) ? (' ' * level * 2 + '» ') : nil - s << "<option value='#{page.id}'>#{indent}#{h page.pretty_title}</option>\n" + + s << "<option #{attrs}>#{indent}#{h page.pretty_title}</option>\n" + wiki_page_options_for_select(pages, selected, page, level + 1) end s |