summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/user_ldap/js/wizard/wizardTabAbstractFilter.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js b/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
index 16920199dc7..b67392a4189 100644
--- a/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
+++ b/apps/user_ldap/js/wizard/wizardTabAbstractFilter.js
@@ -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
}
});