Commit 71e6644e authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

fix filter index on selected groups is updated too early

parent 795a48d4
......@@ -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
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment