Prevent drag and dropping onto self

Hi,



I have maanged to implement dragging and dropping of nodes onto external HTML controls using the code on this KB.



However, when I drop a node onto the tree itself it reorders the tree. How can I prevent nodes fro mbeing dropped onto the tree itself?



Thanks, Paul.

If you need fully block drag in tree , you can use


tree.attachEvent(“onDragIn”,function(){
return false;
});