fix filter index on selected groups is updated too early

This commit is contained in:
Arthur Schiwon 2015-05-06 15:34:44 +02:00
parent 795a48d45c
commit 71e6644ec8
1 changed files with 3 additions and 2 deletions

View File

@ -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
}
});