Use correct variable name for deny input value concatenation

This commit is contained in:
Hypolite Petovan 2020-03-11 00:42:37 -04:00
parent 737b04d7e2
commit bbb397db20

View file

@ -259,9 +259,9 @@
$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);
}
});
});