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