aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-28 20:44:35 -0700
committerFriendika <info@friendika.com>2011-07-28 20:44:35 -0700
commit41c7d71e3b8cc73a8c1e7e79e63753eb99ea6b24 (patch)
treedef2bf057a3c167343018213ff12f032a524a494 /include/acl.js
parent9b2ddb2cc28de56f3f4cbbd1d5ff77da72a01e73 (diff)
downloadvolse-hubzilla-41c7d71e3b8cc73a8c1e7e79e63753eb99ea6b24.tar.gz
volse-hubzilla-41c7d71e3b8cc73a8c1e7e79e63753eb99ea6b24.tar.bz2
volse-hubzilla-41c7d71e3b8cc73a8c1e7e79e63753eb99ea6b24.zip
make profile-jot-desc track lock state changes
Diffstat (limited to 'include/acl.js')
-rw-r--r--include/acl.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acl.js b/include/acl.js
index a0a1f5dd8..82b631ee9 100644
--- a/include/acl.js
+++ b/include/acl.js
@@ -153,6 +153,9 @@ ACL.prototype.updateview = function(){
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
$('#jot-public').show();
$('.profile-jot-net input').attr('disabled', false);
+ if(editor != false) {
+ $('#profile-jot-desc').html(ispublic);
+ }
} else {
that.showall.removeClass("selected");
@@ -160,6 +163,7 @@ ACL.prototype.updateview = function(){
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
$('#jot-public').hide();
$('.profile-jot-net input').attr('disabled', 'disabled');
+ $('#profile-jot-desc').html('&nbsp;');
}
$("#acl-list-content .acl-list-item").each(function(){