make profile-jot-desc track lock state changes

This commit is contained in:
Friendika 2011-07-28 20:44:35 -07:00
parent 9b2ddb2cc2
commit 41c7d71e3b
2 changed files with 5 additions and 0 deletions

View file

@ -153,6 +153,9 @@ ACL.prototype.updateview = function(){
$('#jot-perms-icon').removeClass('lock').addClass('unlock'); $('#jot-perms-icon').removeClass('lock').addClass('unlock');
$('#jot-public').show(); $('#jot-public').show();
$('.profile-jot-net input').attr('disabled', false); $('.profile-jot-net input').attr('disabled', false);
if(editor != false) {
$('#profile-jot-desc').html(ispublic);
}
} else { } else {
that.showall.removeClass("selected"); that.showall.removeClass("selected");
@ -160,6 +163,7 @@ ACL.prototype.updateview = function(){
$('#jot-perms-icon').removeClass('unlock').addClass('lock'); $('#jot-perms-icon').removeClass('unlock').addClass('lock');
$('#jot-public').hide(); $('#jot-public').hide();
$('.profile-jot-net input').attr('disabled', 'disabled'); $('.profile-jot-net input').attr('disabled', 'disabled');
$('#profile-jot-desc').html(' ');
} }
$("#acl-list-content .acl-list-item").each(function(){ $("#acl-list-content .acl-list-item").each(function(){

View file

@ -1487,6 +1487,7 @@ input#dfrn-url {
height: 20px; height: 20px;
color:#cccccc; color:#cccccc;
border: 1px solid #cccccc; border: 1px solid #cccccc;
padding: 3px 0px 0px 5px;
} }