Topic: Get old parent in Mif.Tree.Drag

Hi,
how is it possible to get the old parent in MifTree ? I know how to get the new parent (this.current.parentNode in onDrop()), but I don't know how to get the original parent node's name.
Thank you very much in advance,
Jan

Re: Get old parent in Mif.Tree.Drag

Ok, I've it out myself: you have to use beforeDrop in the options.
beforeDrop: function(current,target,where) {
          var cid = current.property.id;
          var pid = target.property.id;
}

Additionally, I had a typo from the trunk in the function beforeDrop (traget instead of target), you must correct this as well !
Cheers,
Jan