From eece62792c1b666ff144387792d45619f269cdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 18 Jun 2015 18:03:36 +0200 Subject: [PATCH] Issue #2902: Fix role selector at the new member lightbox --- app/coffee/modules/admin/lightboxes.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/admin/lightboxes.coffee b/app/coffee/modules/admin/lightboxes.coffee index b8230dfa..9b43695c 100644 --- a/app/coffee/modules/admin/lightboxes.coffee +++ b/app/coffee/modules/admin/lightboxes.coffee @@ -57,7 +57,7 @@ CreateMembersDirective = ($rs, $rootScope, $confirm, $loading, lightboxService, link = ($scope, $el, $attrs) -> createFieldSet = (required = true)-> - ctx = {roleList: $scope.roles, required: required} + ctx = {roleList: $scope.project.roles, required: required} return $compile(template(ctx))($scope) resetForm = ->