summaryrefslogtreecommitdiffstats
path: root/settings/js/users/groups.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-02-20 19:11:52 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:53 +0200
commitd650cd66dc54ec17f3ee4644d8945223f54e20d3 (patch)
tree9a72768c9fc22a72d6b97dc97b01d9651db5b918 /settings/js/users/groups.js
parent1f4bc7cb1047525422c9db1cc5ba56c564304fb1 (diff)
downloadnextcloud-server-d650cd66dc54ec17f3ee4644d8945223f54e20d3.tar.gz
nextcloud-server-d650cd66dc54ec17f3ee4644d8945223f54e20d3.zip
mark selected group active
Diffstat (limited to 'settings/js/users/groups.js')
-rw-r--r--settings/js/users/groups.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js
index f6124eaa795..5275d437ec8 100644
--- a/settings/js/users/groups.js
+++ b/settings/js/users/groups.js
@@ -22,6 +22,11 @@
showGroup: function (gid) {
UserList.empty();
UserList.update(gid);
+ $('#app-navigation li').removeClass('active');
+ if(gid !== undefined) {
+ //TODO: treat Everyone properly
+ $('#app-navigation li').filterAttr('data-gid', gid).addClass('active');
+ }
},
finishDelete: function (ready) {