##// END OF EJS Templates
Merged r11510 from trunk....
Jean-Philippe Lang -
r11287:58ebb87ae69a
parent child
Show More
@@ -343,7 +343,7 module ApplicationHelper
343 def options_for_membership_project_select(principal, projects)
343 def options_for_membership_project_select(principal, projects)
344 options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---")
344 options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---")
345 options << project_tree_options_for_select(projects) do |p|
345 options << project_tree_options_for_select(projects) do |p|
346 {:disabled => principal.projects.include?(p)}
346 {:disabled => principal.projects.to_a.include?(p)}
347 end
347 end
348 options
348 options
349 end
349 end
General Comments 0
You need to be logged in to leave comments. Login now