Mercurial > hg > soundsoftware-site
diff app/helpers/wiki_helper.rb @ 51:371eac10df0b live
* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author | Chris Cannam |
---|---|
date | Wed, 24 Nov 2010 12:20:08 +0000 |
parents | 94944d00e43c |
children | 051f544170fe |
line wrap: on
line diff
--- a/app/helpers/wiki_helper.rb Thu Oct 21 11:19:14 2010 +0100 +++ b/app/helpers/wiki_helper.rb Wed Nov 24 12:20:08 2010 +0000 @@ -24,7 +24,7 @@ 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