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