From: Arthur Schiwon Date: Mon, 2 Jun 2014 15:32:47 +0000 (+0200) Subject: fix grouplist behaviour (blank after filtering) X-Git-Tag: v7.0.0alpha2~144^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=39982c2aea841658bd6dbc67db50b568a32c8608;p=nextcloud-server.git fix grouplist behaviour (blank after filtering) --- diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index 3b487624823..0ff8bdd6384 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -107,6 +107,7 @@ GroupList = { } else { var $li = GroupList.addGroup(group.name, group.usercount); + $li.addClass('appear transparent'); lis.push($li); } @@ -119,7 +120,9 @@ GroupList = { GroupList.noMoreEntries = true; } _.defer(function () { - $(lis).removeClass('transparent'); + $(lis).each(function () { + this.removeClass('transparent') + }); }); } GroupList.updating = false; diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 2a55f8d7b92..a903f43f876 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -14,7 +14,7 @@
  • - + t('Everyone')); ?>