diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-05-06 15:34:44 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-05-06 15:34:44 +0200 |
commit | 71e6644ec8133e3da216b4641f78067fa02803d9 (patch) | |
tree | 29ef12e030a62d0877721fe703453ea03f5fc8f3 /apps/user_ldap/js | |
parent | 795a48d45c9cb1e568c27b43b837fdc7314ac1dc (diff) | |
download | nextcloud-server-71e6644ec8133e3da216b4641f78067fa02803d9.tar.gz nextcloud-server-71e6644ec8133e3da216b4641f78067fa02803d9.zip |
fix filter index on selected groups is updated too early
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabAbstractFilter.js | 5 |
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 } }); |