mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixed #1812 Private sub albums of private sub albums have the lock icon
This commit is contained in:
@@ -304,6 +304,7 @@ function createAlbumNode(node, li) {
|
||||
icon = "<span class='%icon%'></span>";
|
||||
title = '<span data-id="'+node.id+'" class="move-cat-title-container ';
|
||||
if (node.status == 'private' || node.parent.status == 'private') {
|
||||
node.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