mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1319
* Fixing parent definition when moving sub-album "Before" other album
This commit is contained in:
@@ -200,6 +200,9 @@ function applyMove(event) {
|
||||
}
|
||||
moveRank = 1;
|
||||
} else if (event.move_info.position == 'before') {
|
||||
if (moveParent == null) {
|
||||
moveParent = 0
|
||||
}
|
||||
moveRank = 1;
|
||||
}
|
||||
moveNode(id, moveRank, moveParent).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user