Merge pull request #8403 from MrPetovan/bug/8393-acl-deny-allow

Use correct variable name for deny input value concatenation
This commit is contained in:
Michael Vogel 2020-03-11 07:48:00 +01:00 committed by GitHub
commit e24e24688f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,9 +259,9 @@
$contact_deny_input.val(''); $contact_deny_input.val('');
[].forEach.call($acl_deny_input.tagsinput('items'), function (item) { [].forEach.call($acl_deny_input.tagsinput('items'), function (item) {
if (item.type === 'group') { 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 { } else {
$contact_deny_input.val($contact_allow_input.val() + ',' + item.id); $contact_deny_input.val($contact_deny_input.val() + ',' + item.id);
} }
}); });
}); });