1
0
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:
Marc Alexander 2018-10-13 16:41:27 -07:00
commit dfa533af4a
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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();
}