[Fixed] Choice without already members (for view:groups/permission dropdown)

This commit is contained in:
xdrm-brackets 2017-02-18 16:21:15 +01:00
parent e93eab74dc
commit a0a12311e5
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ if( section.permissions.element != null && !section.permissions.member_view ){
dropdown = "<div class='dropdown'>";
for( j = 0 ; j < members.length ; j++ ){
if( already.indexOf(members[j].id_machine) > -1 )
if( already.indexOf(members[j].id_user_cluster) > -1 )
continue;
dropdown += "<span data-memberid='"+members[j].id_user_cluster+"'>"+members[j].name+"</span>";