fix grouplist behaviour (blank after filtering)

This commit is contained in:
Arthur Schiwon 2014-06-02 17:32:47 +02:00
parent e235de98e6
commit 39982c2aea
2 changed files with 5 additions and 2 deletions

View file

@ -107,6 +107,7 @@ GroupList = {
} }
else { else {
var $li = GroupList.addGroup(group.name, group.usercount); var $li = GroupList.addGroup(group.name, group.usercount);
$li.addClass('appear transparent'); $li.addClass('appear transparent');
lis.push($li); lis.push($li);
} }
@ -119,7 +120,9 @@ GroupList = {
GroupList.noMoreEntries = true; GroupList.noMoreEntries = true;
} }
_.defer(function () { _.defer(function () {
$(lis).removeClass('transparent'); $(lis).each(function () {
this.removeClass('transparent')
});
}); });
} }
GroupList.updating = false; GroupList.updating = false;

View file

@ -14,7 +14,7 @@
<!-- Everyone --> <!-- Everyone -->
<li data-gid="" class="isgroup"> <li data-gid="" class="isgroup">
<a href="#"> <a href="#">
<span> <span class="groupname">
<?php p($l->t('Everyone')); ?> <?php p($l->t('Everyone')); ?>
</span> </span>
</a> </a>