mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
related to #1403 removing guest from associable users in group manager
This commit is contained in:
@@ -741,6 +741,11 @@ $(function() {
|
||||
selectize.addOption({value:u.id, text:u.username})
|
||||
})
|
||||
idSearch = $("#UserList").attr("data-group_id");
|
||||
for (const [key, value] of Object.entries(selectize.options)) {
|
||||
if (value.username === "guest") {
|
||||
selectize.removeOption(value.id);
|
||||
}
|
||||
}
|
||||
$('.UsernameBlock').each(function(){
|
||||
selectize.removeOption($(this).data("id"));
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user