Use correct variable name for deny input value concatenation
This commit is contained in:
parent
737b04d7e2
commit
bbb397db20
1 changed files with 2 additions and 2 deletions
|
@ -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