Skip to content

Instantly share code, notes, and snippets.

/dndjavascript Secret

Created Dec 22, 2014
Embed
What would you like to do?
dragDrop: function(node, data) {
data.otherNode.moveTo(node, data.hitMode);
},
dragStop: function(node, data) {
var neworder=new Array();
var i=0;
var all_drop_data = node.getParent();
all_drop_data.visit(function(all_drop_data){
neworder[i]=all_drop_data.key;
i++;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment