Removing last node using jstree-actions causes exception
Closed this issue · 3 comments
slbug commented
Here is example. http://jsfiddle.net/1m97d73f/1/
If you remove node using external button everything will be ok. If using jstree-actions button you will receive exception
alexandernst commented
I updated your jsfiddle with the unminified version of my plugin for easier debugging: http://jsfiddle.net/1m97d73f/2/
This looks very weird. Both delete_node
calls are receiving exactly the same object (check the console.log
s that I placed before each call), but for some reason the call from inside the callback is failing.
alexandernst commented
I'm closing this as this is clearly not a bug in my plugin: http://jsfiddle.net/1m97d73f/3/
I opened an issue for you: vakata/jstree#1265