aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorDavid Colón <david@davidiq.com>2018-09-25 19:19:57 -0400
committerDavid Colón <david@davidiq.com>2018-09-25 19:20:12 -0400
commit600588d6230c84057e57951ddeb298bc53f9feab (patch)
tree70e668c7751c07081c82fb54ba15cd52d45fb7dd /phpBB/styles/prosilver/template
parent001f32da95d4f8697ccc9a6107afc8dc68cbe48e (diff)
downloadforums-600588d6230c84057e57951ddeb298bc53f9feab.tar
forums-600588d6230c84057e57951ddeb298bc53f9feab.tar.gz
forums-600588d6230c84057e57951ddeb298bc53f9feab.tar.bz2
forums-600588d6230c84057e57951ddeb298bc53f9feab.tar.xz
forums-600588d6230c84057e57951ddeb298bc53f9feab.zip
[ticket/15552] Call insert_single_user when appropriate
PHPBB3-15552
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index 3f59709ac6..f0eb2da8c1 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -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();
}