mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 20:29:58 +03:00
fixed #1812 Private sub albums of private sub albums have the lock icon
This commit is contained in:
parent
29b83b1cae
commit
fc2bcb6507
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ function createAlbumNode(node, li) {
|
||||||
icon = "<span class='%icon%'></span>";
|
icon = "<span class='%icon%'></span>";
|
||||||
title = '<span data-id="'+node.id+'" class="move-cat-title-container ';
|
title = '<span data-id="'+node.id+'" class="move-cat-title-container ';
|
||||||
if (node.status == 'private' || node.parent.status == 'private') {
|
if (node.status == 'private' || node.parent.status == 'private') {
|
||||||
|
node.status = 'private';
|
||||||
title += 'icon-lock';
|
title += 'icon-lock';
|
||||||
}
|
}
|
||||||
title += '"><p class="move-cat-title" title="'+node.name+'">%name%</p> <span class="icon-pencil"></span> </span>';
|
title += '"><p class="move-cat-title" title="'+node.name+'">%name%</p> <span class="icon-pencil"></span> </span>';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue