You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this great tool. I am using it in my project and it saved me some time. While building and testing my frontend for editing I have seen the logic allows to make a node a child of itself or of one of it's children.
Hi!
Thanks for this great tool. I am using it in my project and it saved me some time. While building and testing my frontend for editing I have seen the logic allows to make a node a child of itself or of one of it's children.
A fix is simple:
$newParent->getLeftValue() > $movedChild->getLeftValue()
&& $newParent->getRightValue() < $movedChild->getRightValue()
If this contition is true don't move the node.
regards,
michael
The text was updated successfully, but these errors were encountered: