]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/acl_selector.tpl
[frio] Move variable assignment where it belongs in asynchronous comment form submiss...
[friendica.git] / view / templates / acl_selector.tpl
index c3abdad5bc75e1935c720557b10bb996e37e27ee..f1943cf3f687510caade1956a8a87c4dab5c365d 100644 (file)
                        $contact_deny_input.val('');
                        [].forEach.call($acl_deny_input.tagsinput('items'), function (item) {
                                if (item.type === 'group') {
-                                       $group_deny_input.val($group_allow_input.val() + ',' + item.id);
+                                       $group_deny_input.val($group_deny_input.val() + ',' + item.id);
                                } else {
-                                       $contact_deny_input.val($contact_allow_input.val() + ',' + item.id);
+                                       $contact_deny_input.val($contact_deny_input.val() + ',' + item.id);
                                }
                        });
                });