- added
get_top_selected&get_bottom_selectedfunctions - contextmenu label can now be a function
- avoided infinite loop in
set_stateif persistent AJAX error occurs - a lot of fixes to
load_nodeto allow proper reloading and data handling - jstree now allows duplicate IDs on page level (but not in the same tree), basically you can have the same node ID in different trees now
- invalid IDs are now supported (numeric, etc)
check_callbacknow receives one more param with additional info (useful for drag'n'drop)- nodes with
state.openedset totrue, which are not loaded, are now automatically loaded when needed - HTML string as data now works properly
- unloaded nodes are now properly copied as "closed" (instead of leaf)
- added optional position parameter to
pastefunction is_draggablein DND now handles multiple nodes properlyclose_node.jstreeevent is no longer triggered if the node is already closed