get rid of the unused ispublic variable
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user