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 304 attachment: jquery.dynatree.js.patch (610 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- trunk/src/jquery.dynatree.js
+++ trunk/src/jquery.dynatree.js
@@ -1506,11 +1506,14 @@
callback.call(tree, child, "loaded");
// Look for direct child with that key
child._loadKeyPath(segList.join(tree.options.keyPathSeparator), callback);
- }
+ }
return;
}
}
// Could not find key
+ //alert callback that the item is not found
+ //params: child: undefined, the segment, isEndNode (segList.length === 0)
+ callback.call(tree, undefined, "notfound", seg, segList.length === 0);
tree.logWarning("Node not found: " + seg);
return;
},
Powered by Google Project Hosting