mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 07:00:14 +01:00
Merge pull request #5384 from DavidIQ/ticket/15552
[ticket/15552] Call insert_single_user when appropriate
This commit is contained in:
commit
dfa533af4a
@ -273,11 +273,9 @@ function insertUser(formId, value) {
|
||||
function insert_marked_users(formId, users) {
|
||||
'use strict';
|
||||
|
||||
for (var i = 0; i < users.length; i++) {
|
||||
if (users[i].checked) {
|
||||
insertUser(formId, users[i].value);
|
||||
}
|
||||
}
|
||||
$(users).filter(':checked').each(function() {
|
||||
insertUser(formId, this.value);
|
||||
});
|
||||
|
||||
window.close();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user