|
|
|
@ -240,7 +240,7 @@ module ApplicationHelper |
|
|
|
|
s = '' |
|
|
|
|
project_tree(projects) do |project, level| |
|
|
|
|
name_prefix = (level > 0 ? (' ' * 2 * level + '» ') : '') |
|
|
|
|
tag_options = {:value => project.id} |
|
|
|
|
tag_options = {:value => project.id, :title => h(project)} |
|
|
|
|
if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project)) |
|
|
|
|
tag_options[:selected] = 'selected' |
|
|
|
|
else |
|
|
|
|