Merge pull request #5341 from m4dz/bug/everyone-group-highlight
Highlight everyone group by default
This commit is contained in:
commit
8b514bc4c1
1 changed files with 3 additions and 1 deletions
|
@ -222,7 +222,6 @@ GroupList = {
|
|||
UserList.update(gid === '_everyone' ? '' : gid);
|
||||
$userGroupList.find('li').removeClass('active');
|
||||
if (gid !== undefined) {
|
||||
//TODO: treat Everyone properly
|
||||
GroupList.getGroupLI(gid).addClass('active');
|
||||
}
|
||||
},
|
||||
|
@ -380,4 +379,7 @@ $(document).ready( function () {
|
|||
$('#newgroupname').on('input', function(){
|
||||
GroupList.handleAddGroupInput(this.value);
|
||||
});
|
||||
|
||||
// highlight `everyone` group at DOMReady by default
|
||||
GroupList.showGroup('_everyone');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue