<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - events fire too early (oncheck etc.)]]></title>
		<link>http://mifjs.net/forum/topic/178/</link>
		<description><![CDATA[The most recent posts in events fire too early (oncheck etc.).]]></description>
		<lastBuildDate>Fri, 20 Nov 2009 14:34:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: events fire too early (oncheck etc.)]]></title>
			<link>http://mifjs.net/forum/post/658/#p658</link>
			<description><![CDATA[fixed [url=http://code.google.com/p/miftree/source/detail?r=107]rev107[/url]]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Fri, 20 Nov 2009 14:34:26 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/658/#p658</guid>
		</item>
		<item>
			<title><![CDATA[events fire too early (oncheck etc.)]]></title>
			<link>http://mifjs.net/forum/post/657/#p657</link>
			<description><![CDATA[Maybe this is not a bug, but I think it is one anyway.
onCheck (and related onUncheck, switch) events fire at the start of the method 'switch'.
If you use these events to do some JS (e.g. run getSelected and update a value somewhere) then you don't get the latest collection of checked checkboxes.

Why can't they be at the end of the method? I have done so now in my mif.tree-trunk.js for both the switch and check/uncheck events.

Any thoughts?]]></description>
			<author><![CDATA[dummy@example.com (Rolf)]]></author>
			<pubDate>Fri, 20 Nov 2009 10:28:34 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/657/#p657</guid>
		</item>
	</channel>
</rss>

