mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
fixed #1812 icon-lock are shown for newly created private albums
This commit is contained in:
@@ -303,7 +303,7 @@ $(document).ready(() => {
|
||||
function createAlbumNode(node, li) {
|
||||
icon = "<span class='%icon%'></span>";
|
||||
title = '<span data-id="'+node.id+'" class="move-cat-title-container ';
|
||||
if (node.status == 'private') {
|
||||
if (node.status == 'private' || node.parent.status == 'private') {
|
||||
title += 'icon-lock';
|
||||
}
|
||||
title += '"><p class="move-cat-title" title="'+node.name+'">%name%</p> <span class="icon-pencil"></span> </span>';
|
||||
|
||||
Reference in New Issue
Block a user