My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 493: visitParents isn't working
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Oct 2014


 
Reported by michael....@gmail.com, Oct 27, 2014
I made an extremely simple jsFiddle to show the issue.

http://jsfiddle.net/Michael_0/qfbwgmca/
Oct 28, 2014
Project Member #2 moo...@wwwendt.de
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
#4 michael....@gmail.com
You are right, I forgot the callback's argument. Thank you.

Powered by Google Project Hosting