You nailed it Ivan, I got it working thanks. I read the comment on foreign divs and I got that working too. I'm curious of your opinion on something.
For my drag and drops I'd actually like the server to do the move and the client (browser) just reloads the updated JSON (which reflects the move) to form the proper tree. Make sense?
In that case I see two paths
1. Unbind the default dnd_stop.vakata handler and create my own dnd_stop.vakata handler which tells the server that a node has been moved/copied, server does the move and then I refresh the tree with the new JSON (via AJAX).
OR
2. Leave the dnd_stop.vakata event handler and just trigger the AJAX refresh call using the move/copy event handlers.
I tried #1 and it works (in the sense that I can issue an AJAX refresh) but I'm not sure how to figure out parent node, node, etc from the data argument of dnd_stop.vakata
#2 seems easier; jstree will complete the drop like normal and then my refresh will along a moment later.
Thoughts?
Peter