- added
get_top_selected
&get_bottom_selected
functions - contextmenu label can now be a function
- avoided infinite loop in
set_state
if persistent AJAX error occurs - a lot of fixes to
load_node
to 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_callback
now receives one more param with additional info (useful for drag'n'drop)- nodes with
state.opened
set 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
paste
function is_draggable
in DND now handles multiple nodes properlyclose_node.jstree
event is no longer triggered if the node is already closed