<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Quick fix for Mootools 1.2.3 upgrade]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/topic/157/"/>
	<updated>2009-11-11T08:26:57Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/topic/157/</id>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/645/#p645"/>
			<content type="html"><![CDATA[[quote=temuri]moro,

what do I need to update in MifMenu source to make it work with Mootools 1.2.3?

There are problems with firing custom events in Mif.Menu.Item.check() method:
...
Both [b]this.list[/b] and [b]item.list[/b] do not have fireEvent() method defined.
...[/quote]
fixed [url=http://code.google.com/p/mifmenu/source/detail?r=36]rev36[/url]


menu updated to lastest mootools version]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-11-11T08:26:57Z</updated>
			<id>http://mifjs.net/forum/post/645/#p645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/642/#p642"/>
			<content type="html"><![CDATA[moro,

what about updating this to Mootools 1.2.3?

[url]http://mifjs.net/trunk/menu/Demos/index.html[/url]

thanks]]></content>
			<author>
				<name><![CDATA[temuri]]></name>
				<uri>http://mifjs.net/forum/user/4/</uri>
			</author>
			<updated>2009-11-05T16:51:42Z</updated>
			<id>http://mifjs.net/forum/post/642/#p642</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/627/#p627"/>
			<content type="html"><![CDATA[[quote=Muriel]I have tried all the option above, but I can't get it to work with Mootools-v1.2.3-core and -more.
It works fine with Mootools v1.2.
Does somebody have a working example (would save me a lot of time).[/quote]
[url]http://mifjs.net/trunk/tree/Demos/index.html[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-10-17T17:33:57Z</updated>
			<id>http://mifjs.net/forum/post/627/#p627</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/619/#p619"/>
			<content type="html"><![CDATA[I have tried all the option above, but I can't get it to work with Mootools-v1.2.3-core and -more.
It works fine with Mootools v1.2.
Does somebody have a working example (would save me a lot of time).]]></content>
			<author>
				<name><![CDATA[Muriel]]></name>
				<uri>http://mifjs.net/forum/user/99/</uri>
			</author>
			<updated>2009-10-08T14:09:37Z</updated>
			<id>http://mifjs.net/forum/post/619/#p619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/618/#p618"/>
			<content type="html"><![CDATA[moro,

what do I need to update in MifMenu source to make it work with Mootools 1.2.3?

There are problems with firing custom events in Mif.Menu.Item.check() method:

[b]Mif.Menu.Item.js[/b]
[code]
    check: function(state){
        if(this.type=='checkbox'){
            ...
            this.list.fireEvent('check', [this, this.checked]);
        }
        if(this.type=='radio'){
            ...
            this.list.groups[this.group].each(function(item){
                if(item==this && this.checked){
                    ...
                    item.list.fireEvent('radioCheck', [this, true]);
                    return;
                }else{
                    ...
                    item.list.fireEvent('radioCheck', [this, false]);
                }
            }, this);
        }
        return this;
    },
[/code]

Both [b]this.list[/b] and [b]item.list[/b] do not have fireEvent() method defined.

Your help will be greatly appreciated.

Thanks,
Temuri]]></content>
			<author>
				<name><![CDATA[temuri]]></name>
				<uri>http://mifjs.net/forum/user/4/</uri>
			</author>
			<updated>2009-10-03T14:20:26Z</updated>
			<id>http://mifjs.net/forum/post/618/#p618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/603/#p603"/>
			<content type="html"><![CDATA[you can use trunk download builder: [url]http://mifjs.net/trunk/tree/Download/Builder/[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-09-21T08:35:59Z</updated>
			<id>http://mifjs.net/forum/post/603/#p603</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/594/#p594"/>
			<content type="html"><![CDATA[[quote=Stalfos]I am getting nothing (no display, no errors) when I use both 1.2.3core with 1.2.3.1more of mootools... (I'm in dev, so it's a complete package from mootools)

I downloaded the tree.v1.1 from the website...
Should I grab the rev 101 file instead, in order to make it work with the latest mootools?[/quote]

Same problem here... What files do I need to download to make this work with 1.2.3core and 1.2.3.1more of mootools?

Edit:

I grabbed a copy from his latest source revision:

svn checkout [url]http://miftree.googlecode.com/svn/trunk/[/url] miftree-read-only

And built a new mif.tree.js file from all his source .js files (by just manually concatenating all the .js files in /Source/Core/ and /Source/More/. I'm sure he has an automated build for this, but I couldn't quite figure that out.).

I ran this against mootools 1.2.3 core and 1.2.3.1 more, and it worked. I guess he has fixed it, but maybe doesn't consider it stable enough yet to post as a release version on the site?]]></content>
			<author>
				<name><![CDATA[kevin]]></name>
				<uri>http://mifjs.net/forum/user/94/</uri>
			</author>
			<updated>2009-09-11T14:59:01Z</updated>
			<id>http://mifjs.net/forum/post/594/#p594</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/589/#p589"/>
			<content type="html"><![CDATA[I am getting nothing (no display, no errors) when I use both 1.2.3core with 1.2.3.1more of mootools... (I'm in dev, so it's a complete package from mootools)

I downloaded the tree.v1.1 from the website...
Should I grab the rev 101 file instead, in order to make it work with the latest mootools?]]></content>
			<author>
				<name><![CDATA[Stalfos]]></name>
				<uri>http://mifjs.net/forum/user/92/</uri>
			</author>
			<updated>2009-08-27T15:36:35Z</updated>
			<id>http://mifjs.net/forum/post/589/#p589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/575/#p575"/>
			<content type="html"><![CDATA[fixed [url=http://code.google.com/p/miftree/source/detail?r=101]rev101[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-07-12T10:25:13Z</updated>
			<id>http://mifjs.net/forum/post/575/#p575</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Quick fix for Mootools 1.2.3 upgrade]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/572/#p572"/>
			<content type="html"><![CDATA[Just upgraded to latest mootools and keynav & drag'n'drop stopped working!!

So have edited line 64 of the Mif.Tree section:

Replace:
  if (MooTools.version=='1.2.2' && this.options.initialize) this.options.initialize.call(this);
With
  if (MooTools.version>='1.2.2' && this.options.initialize) this.options.initialize.call(this);
OR
  if ((MooTools.version=='1.2.2' || MooTools.version=='1.2.3') && this.options.initialize) this.options.initialize.call(this);

The 1st replacement appears to work ok so I guess it's good to use.

Hope this helps someone.]]></content>
			<author>
				<name><![CDATA[peterbarkway]]></name>
				<uri>http://mifjs.net/forum/user/61/</uri>
			</author>
			<updated>2009-07-07T08:36:56Z</updated>
			<id>http://mifjs.net/forum/post/572/#p572</id>
		</entry>
</feed>

