diff options
Diffstat (limited to 'view/js/acl.js')
-rw-r--r-- | view/js/acl.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/view/js/acl.js b/view/js/acl.js index 65f1009ed..7940a9bdc 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -196,16 +196,13 @@ ACL.prototype.update_view = function() { $('#jot-perms-icon').removeClass('icon-lock').addClass('icon-unlock'); $('#jot-public').show(); $('.profile-jot-net input').attr('disabled', false); - if(typeof editor !== 'undefined' && editor !== false) { - $('#profile-jot-desc').html(ispublic); - } } else { that.showall.removeClass("btn-warning").addClass("btn-default"); /* jot acl */ $('#jot-perms-icon').removeClass('icon-unlock').addClass('icon-lock'); $('#jot-public').hide(); $('.profile-jot-net input').attr('disabled', 'disabled'); - $('#profile-jot-desc').html(' '); + } $("#acl-list-content .acl-list-item").each(function() { $(this).removeClass("groupshow grouphide"); |