fix filter index on selected groups is updated too early
This commit is contained in:
parent
795a48d45c
commit
71e6644ec8
1 changed files with 3 additions and 2 deletions
|
@ -170,6 +170,7 @@ OCA = OCA || {};
|
|||
} else {
|
||||
var $element = $(this.tabID).find('.ldapGroupListSelected');
|
||||
this.equipMultiSelect($element, groups);
|
||||
this.updateFilterOnType('selected');
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -360,7 +361,7 @@ OCA = OCA || {};
|
|||
|
||||
this._saveGroups(selected.concat($available.val()));
|
||||
$available.find('option:selected').prependTo($selected);
|
||||
this.updateFilterOnType();
|
||||
this.updateFilterOnType('available'); // selected groups are not updated yet
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -373,7 +374,7 @@ OCA = OCA || {};
|
|||
|
||||
this._saveGroups(selected);
|
||||
$selected.find('option:selected').appendTo($available);
|
||||
this.updateFilterOnType();
|
||||
this.updateFilterOnType('available'); // selected groups are not updated yet
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue