mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/15552] Call insert_single_user when appropriate
PHPBB3-15552
This commit is contained in:
parent
001f32da95
commit
600588d623
1 changed files with 3 additions and 5 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue