]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix grouplist behaviour (blank after filtering)
authorArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 15:32:47 +0000 (17:32 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 15:32:59 +0000 (17:32 +0200)
settings/js/users/groups.js
settings/templates/users/part.grouplist.php

index 3b487624823147e549d51e224f3afa4a9c1f3ad5..0ff8bdd638419896805cc8a07b065846a12f26ba 100644 (file)
@@ -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;
index 2a55f8d7b92ee74996d24a86e8b12aae29269b9d..a903f43f876e815a754b6e0bcea13365322e300d 100644 (file)
@@ -14,7 +14,7 @@
        <!-- Everyone -->
        <li data-gid="" class="isgroup">
                <a href="#">
-                       <span>
+                       <span class="groupname">
                                <?php p($l->t('Everyone')); ?>
                        </span>
                </a>