| Issue 493: | visitParents isn't working | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I made an extremely simple jsFiddle to show the issue. http://jsfiddle.net/Michael_0/qfbwgmca/
Oct 28, 2014
#1
michael....@gmail.com
Oct 28, 2014
The sample does not run (external dynatree lib is not loaded.
Anyway: the callback passed to visitParents receives the visited node. So it should be
node.visitParents(function (parentNode) {
console.log("visitParents : " + parentNode.data.title);
}, false);
Status:
Invalid
Labels: Milestone-Release1.2.6
Oct 29, 2014
You are right, I forgot the callback's argument. Thank you. |