fix grouplist behaviour (blank after filtering)
This commit is contained in:
parent
e235de98e6
commit
39982c2aea
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue