get rid of the unused ispublic variable

This commit is contained in:
Mario Vavti
2016-04-29 21:38:36 +02:00
parent 83a0e82d5c
commit 931a4fafe3
9 changed files with 4 additions and 27 deletions

View File

@@ -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");