diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-12-21 17:37:35 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-12-21 17:37:35 +0100 |
commit | 7f2070ca91aca9e92f3ac4c5b714742c6f9ecc3b (patch) | |
tree | da414eee593cde8cdf631b598671daac22687380 /js/acl.js | |
parent | bf00e4dded7dd90443eafb8fc1c15b82ce723867 (diff) | |
parent | 048fcae40b260b04e7b2e1774c1c72b69f790212 (diff) | |
download | volse-hubzilla-7f2070ca91aca9e92f3ac4c5b714742c6f9ecc3b.tar.gz volse-hubzilla-7f2070ca91aca9e92f3ac4c5b714742c6f9ecc3b.tar.bz2 volse-hubzilla-7f2070ca91aca9e92f3ac4c5b714742c6f9ecc3b.zip |
Merge remote-tracking branch 'friendica/master'
Diffstat (limited to 'js/acl.js')
-rw-r--r-- | js/acl.js | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -171,6 +171,9 @@ ACL.prototype.update_view = function(){ $('.profile-jot-net input').attr('disabled', 'disabled'); $('#profile-jot-desc').html(' '); } + $("#acl-list-content .acl-list-item").each(function(){ + $(this).removeClass("groupshow grouphide"); + }); $("#acl-list-content .acl-list-item").each(function(){ itemid = $(this).attr('id'); @@ -194,8 +197,11 @@ ACL.prototype.update_view = function(){ uclass="grouphide"; } - $(that.group_uids[id]).each(function(i,v){ - $("#c"+v).removeClass("groupshow grouphide").addClass(uclass); + $(that.group_uids[id]).each(function(i,v) { + if(uclass == "grouphide") + $("#c"+v).removeClass("groupshow"); + if(uclass != "") + $("#c"+v).addClass(uclass); }); break; |