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:
commit
e24e24688f
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue