]> git.mxchange.org Git - friendica.git/blobdiff - include/acl.js
allow comment relaying for comments which were never Diaspora signed
[friendica.git] / include / acl.js
index 41b9b1906494386dfb9a343a3a03848df6193532..82b631ee9444f0a98f666a08b4e31010a1ccfb08 100644 (file)
@@ -11,7 +11,7 @@ function ACL(backend_url, preset){
        that.deny_cid  = (preset[2] || []);
        that.deny_gid  = (preset[3] || []);
        that.group_uids = [];
-       that.nw = 5; that.nh = 5;
+       that.nw = 4; //items per row. should be calulated from #acl-list.width
        
        that.list_content = $("#acl-list-content");
        that.item_tpl = unescape($(".acl-list-item[rel=acl-template]").html());
@@ -153,6 +153,9 @@ ACL.prototype.updateview = function(){
                                $('#jot-perms-icon').removeClass('lock').addClass('unlock');
                                $('#jot-public').show();
                                $('.profile-jot-net input').attr('disabled', false);                    
+                               if(editor != false) {
+                                       $('#profile-jot-desc').html(ispublic);
+                               }
                        
        } else {
                        that.showall.removeClass("selected");
@@ -160,6 +163,7 @@ ACL.prototype.updateview = function(){
                                $('#jot-perms-icon').removeClass('unlock').addClass('lock');
                                $('#jot-public').hide();
                                $('.profile-jot-net input').attr('disabled', 'disabled');                       
+                               $('#profile-jot-desc').html(' ');
        }
        
        $("#acl-list-content .acl-list-item").each(function(){