[Fixed] Choice without already members (for view:groups/permission dropdown)
This commit is contained in:
parent
e93eab74dc
commit
a0a12311e5
|
@ -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