multiSelect: Modified users.js to only update other multiSelects.
This commit is contained in:
parent
63fa943a52
commit
1d55829ba6
1 changed files with 2 additions and 2 deletions
|
@ -177,9 +177,9 @@ var UserList = {
|
|||
} else {
|
||||
checkHandeler = false;
|
||||
}
|
||||
var addGroup = function (group) {
|
||||
var addGroup = function (select, group) {
|
||||
$('select[multiple]').each(function (index, element) {
|
||||
if ($(element).find('option[value="' + group + '"]').length == 0) {
|
||||
if ($(element).find('option[value="' + group + '"]').length === 0 && select.data('msid') !== $(element).data('msid')) {
|
||||
$(element).append('<option value="' + group + '">' + group + '</option>');
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue