Propagate expanded state all the way to the root

This commit is contained in:
sintech 2021-12-12 19:59:18 +03:00
parent e9650a94f3
commit 40f73b00ce

View File

@ -199,7 +199,10 @@ function enableBreadcrumbTree(options) {
}
if (node.state.expanded) {
while (node.parent != null) {
nodes[node.parent].state.expanded = true;
node = nodes[node.parent]
}
}
} else {