<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Get old parent in Mif.Tree.Drag]]></title>
		<link>http://mifjs.net/forum/topic/215/</link>
		<description><![CDATA[The most recent posts in Get old parent in Mif.Tree.Drag.]]></description>
		<lastBuildDate>Tue, 25 May 2010 10:07:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Get old parent in Mif.Tree.Drag]]></title>
			<link>http://mifjs.net/forum/post/793/#p793</link>
			<description><![CDATA[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]]></description>
			<author><![CDATA[dummy@example.com (jan)]]></author>
			<pubDate>Tue, 25 May 2010 10:07:56 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/793/#p793</guid>
		</item>
		<item>
			<title><![CDATA[Get old parent in Mif.Tree.Drag]]></title>
			<link>http://mifjs.net/forum/post/792/#p792</link>
			<description><![CDATA[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]]></description>
			<author><![CDATA[dummy@example.com (jan)]]></author>
			<pubDate>Mon, 24 May 2010 10:58:40 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/792/#p792</guid>
		</item>
	</channel>
</rss>

