Posted on Oct 27, 2014 by
Happy Panda
I made an extremely simple jsFiddle to show the issue.
Comment #1
Posted on Oct 28, 2014 by Happy PandaComment #2
Posted on Oct 28, 2014 by Happy BearThe 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);
Comment #3
Posted on Oct 29, 2014 by Happy PandaComment deleted
Comment #4
Posted on Oct 29, 2014 by Happy PandaYou are right, I forgot the callback's argument. Thank you.
Status: Invalid
Labels:
Type-Defect
Priority-Medium
Milestone-Release1.2.6