diff options
author | friendica <info@friendica.com> | 2014-01-06 17:10:53 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-06 17:12:44 -0800 |
commit | 41df51a8151a5c1f35abe3c04f94e43b673e29ff (patch) | |
tree | 9e069c342fdfdba2db2bc1491032e44d2d3aff28 /view/js/acl.js | |
parent | 8dc22c564aee0a6edf590a9a47021ea1ceb4aecf (diff) | |
download | volse-hubzilla-41df51a8151a5c1f35abe3c04f94e43b673e29ff.tar.gz volse-hubzilla-41df51a8151a5c1f35abe3c04f94e43b673e29ff.tar.bz2 volse-hubzilla-41df51a8151a5c1f35abe3c04f94e43b673e29ff.zip |
add "self" to access control lists with special marking to indicate it's special (for instance you can't really deny access to yourself). But this lets us make something private to our eyes only; whatever it may be.
Diffstat (limited to 'view/js/acl.js')
-rw-r--r-- | view/js/acl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/acl.js b/view/js/acl.js index 906b28354..84b080de2 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -259,8 +259,8 @@ ACL.prototype.populate = function(data){ var height = Math.ceil(data.tot / that.nw) * 42; that.list_content.height(height); $(data.items).each(function(){ - html = "<div class='acl-list-item {4} {5} {7}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>"; - html = html.format( this.photo, this.name, this.type, this.xid, '', this.network, this.link, this.taggable ); + html = "<div class='acl-list-item {4} {7} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>"; + html = html.format( this.photo, this.name, this.type, this.xid, '', this.self, this.link, this.taggable ); if (this.uids!=undefined) that.group_uids[this.id] = this.uids; //console.log(html); that.list_content.append(html); |