aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/acl.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-29 21:38:36 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-29 21:38:36 +0200
commit931a4fafe316b23bacf92ac1ff35f9b8467415dd (patch)
treecedf2c977cf289dd9b3a5634ced1cd92c6a21baa /view/js/acl.js
parent83a0e82d5cba8d3e241c51e3c2e9fd2466183b72 (diff)
downloadvolse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.gz
volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.bz2
volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.zip
get rid of the unused ispublic variable
Diffstat (limited to 'view/js/acl.js')
-rw-r--r--view/js/acl.js5
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('&nbsp;');
+
}
$("#acl-list-content .acl-list-item").each(function() {
$(this).removeClass("groupshow grouphide");