diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-12-22 16:35:58 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-12-22 16:35:58 +0100 |
commit | 0dce36bdbce7482329105e2c1ef4f3c8b3043803 (patch) | |
tree | d3ecce88412a2b528561f05ef202542707aeb3bd /js/acl.js | |
parent | 2ef2d0b79f4024174292faa45840cee065b464a3 (diff) | |
parent | e764990ce49880ba6d5113410eab86ff44bb6647 (diff) | |
download | volse-hubzilla-0dce36bdbce7482329105e2c1ef4f3c8b3043803.tar.gz volse-hubzilla-0dce36bdbce7482329105e2c1ef4f3c8b3043803.tar.bz2 volse-hubzilla-0dce36bdbce7482329105e2c1ef4f3c8b3043803.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
@@ -200,8 +200,14 @@ ACL.prototype.update_view = function(){ $(that.group_uids[id]).each(function(i,v) { if(uclass == "grouphide") $("#c"+v).removeClass("groupshow"); - if(uclass != "") - $("#c"+v).addClass(uclass); + if(uclass != "") { + var cls = $("#c"+v).attr('class'); + if( cls == undefined) + return true; + var hiding = cls.indexOf('grouphide'); + if(hiding == -1) + $("#c"+v).addClass(uclass); + } }); break; |