Hi, I tried the code. It worked well except for the fact that the code keeps calling the function:
.on('dnd_move.vakata.jstree', function (e, data) { ...}
after the customized function:
.on('dnd_move.vakata.jstree', function (e, data) { ... }
is called.
This has the effect of changing the icon back to a red cross because the code runs into: