My favorites
▼
|
Sign in
dynatree
Dynatree is a JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.
Project Home
Downloads
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
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