[Fixed] Choice without already members (for view:groups/permission dropdown)
This commit is contained in:
parent
32cc74166b
commit
59beb64eea
|
@ -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>";
|
||||||
|
|
Loading…
Reference in New Issue