tree drop without moving from list

Hi all, first post here, I hope it's descriptive enough.

I'm very new to dojo and am using two trees on a screen.  I want to be able to drag an element from one tree on top of an element

on the other tree.  This maps these two elements together, which is recorded in a database.  The problem I'm having is that dojo assumes I want the first element to be moved to the second tree.

How do I get dojo to send the info on the element dragged and the element dropped onto to my server (rails) but not remove the element from the tree?

I'm creating the trees dynamically from the database by adding new <div> tags, and it all works fine.  Can I override inbuilt functions when I'm building the trees this way?

Thank you

Back to top