[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 32cc74166b
commit 59beb64eea
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'>"; dropdown = "<div class='dropdown'>";
for( j = 0 ; j < members.length ; j++ ){ 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; continue;
dropdown += "<span data-memberid='"+members[j].id_user_cluster+"'>"+members[j].name+"</span>"; dropdown += "<span data-memberid='"+members[j].id_user_cluster+"'>"+members[j].name+"</span>";