diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-06-12 22:03:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 22:03:14 +0200 |
commit | 8b514bc4c18d63e0c0b5b1e82bb67fabef5aeb3a (patch) | |
tree | ea0b723bf191214f4cc0e324a7f1559d6b7a4ec9 | |
parent | 659a8bf24cfe89bd902d7df4f0a4bea03b23b5a6 (diff) | |
parent | 56adbb4e1dab40cd2ae26e99451c2784eb5346f9 (diff) | |
download | nextcloud-server-8b514bc4c18d63e0c0b5b1e82bb67fabef5aeb3a.tar.gz nextcloud-server-8b514bc4c18d63e0c0b5b1e82bb67fabef5aeb3a.zip |
Merge pull request #5341 from m4dz/bug/everyone-group-highlight
Highlight everyone group by default
-rw-r--r-- | settings/js/users/groups.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index 16621441a64..073551c0d8e 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -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'); }); |