]> git.mxchange.org Git - friendica.git/commitdiff
Use correct variable name for deny input value concatenation
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 11 Mar 2020 04:42:37 +0000 (00:42 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 11 Mar 2020 04:42:37 +0000 (00:42 -0400)
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);
                                }
                        });
                });