<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu]]></title>
		<link>http://mifjs.net/forum/</link>
		<description><![CDATA[The most recent topics at Mifjs forum — Mif.Tree, Mif.Menu.]]></description>
		<lastBuildDate>Tue, 03 May 2011 06:17:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[DOM Tree example in Firefox]]></title>
			<link>http://mifjs.net/forum/topic/255/new/posts/</link>
			<description><![CDATA[Windows XP
Firefox 3.6.16

[url]http://mifjs.net/tree/Demos/index.html#HTMLTree[/url]

The " html" node can not be clicked sometimes.

错误： too much recursion
源文件：http://mifjs.net/tree/assets/scripts/mootools.js
行：1205]]></description>
			<author><![CDATA[dummy@example.com (mominet)]]></author>
			<pubDate>Tue, 03 May 2011 06:17:48 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/255/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[documentation not rendering]]></title>
			<link>http://mifjs.net/forum/topic/242/new/posts/</link>
			<description><![CDATA[I cant see any documentation in any browser (IE7+, Opera, Safari, Chrome, FF4, etc)
The first few charatcers of the page seem to be gibberish.
Then the page breaks.

Any idea how to just download the docs for offline usage?]]></description>
			<author><![CDATA[dummy@example.com (Bloodsucker)]]></author>
			<pubDate>Tue, 19 Apr 2011 18:38:04 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/242/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Bug in unchecked nodes]]></title>
			<link>http://mifjs.net/forum/topic/231/new/posts/</link>
			<description><![CDATA[Hello,

I'm using and I'm MifTree problem using your component checkbox.

Note that some end nodes are not checked.

[code]
window.addEvent('domready',function(){
    tree = new Mif.Tree({
        container: $('tree_container'),
        forest: true,
        initialize: function(){
            this.initCheckbox('deps');
        },
        types: {
            folder:{
                openIcon: 'mif-tree-open-icon',
                closeIcon: 'mif-tree-close-icon'
            },
            loader:{
                openIcon: 'mif-tree-loader-open-icon',
                closeIcon: 'mif-tree-loader-close-icon'
            },
            disabled:{
                openIcon: 'mif-tree-open-icon',
                closeIcon: 'mif-tree-close-icon',
                dragDisabled: true,
                cls: 'disabled'
            },
            book:{
                openIcon: 'mif-tree-book-icon',
                closeIcon: 'mif-tree-book-icon',
                loadable: true
            },
            bin:{
                openIcon: 'mif-tree-bin-open-icon',
                closeIcon: 'mif-tree-bin-close-icon'
            }
        },
        dfltType: 'folder'
    });

    //tree.initSortable();
    var json = [    
    {
        "property": {
            "name": "Corporativo"
        },
        "children": [{
            "property": {
                "name": "Diretoria"
            },
            "children": [{
                "property": {
                    "name": "Diretor Presidente"
                },
                "children": [{
                    "property": {
                        "name": "JOS\u00e9 HENRIQUE SANTORINI JHS"
                    }
                },
                {
                    "property": {
                        "name": "DEMONSTRA\u00c7\u00c3O 123"
                    }
                }]
            }]
        },
        {
            "property": {
                "name": "Marketing Corporativo"
            },
            "children": [{
                "property": {
                    "name": "Gerente de Marketing"
                },
                "children": [{
                    "property": {
                        "name": "MARIA HELENA CARRASCOSA MHC"
                    },
                    "state": {
                        "checked": "checked"
                    }
                }]
            }]
        },
        {
            "property": {
                "name": "Gest\u00e3o de Processos "
            },
            "children": [{
                "property": {
                    "name": "Gerente de Lojas Corporativo"
                },
                "children": [{
                    "property": {
                        "name": "VALDIR PEREIRA RAMOS VPR"
                    },
                    "state": {
                        "checked": "checked"
                    }
                }]
            }]
        },
        {
            "property": {
                "id": "area_41",
                "name": "RH Corporativo"
            },
            "children": [{
                "property": {
                    "name": "Gerente de RH Corporativo"
                },
                "children": [{
                    "property": {
                        "name": "SANDRA REGINA BRUNETTI SRB"
                    },
                    "state": {
                        "checked": "checked"
                    }
                }]
            }]
        },
        {
            "property": {
                "id": "area_43",
                "name": "Suprimentos"
            },
            "children": [{
                "property": {
                    "name": "Gerente de Compras Corporativo"
                },
                "children": [{
                    "property": {
                        "name": "SILVIO GARIBALDI SG"
                    },
                    "state": {
                        "checked": "checked"
                    }
                }]
            }]
        },
        {
            "property": {
                "name": "Administra\u00e7\u00e3o e Finan\u00e7as"
            },
            "children": [{
                "property": {
                    "name": "Gerente Administrativo Financeiro"
                },
                "children": [{
                    "property": {
                        "name": "ANA CL\u00e1UDIA SOARES ACS"
                    },
                    "state": {
                        "checked": "checked"
                    }
                }]
            }]
        }]
    }
    ];
    
    // load tree from json.
    tree.load({
        json: json
    });
    
});
[/code]]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Sun, 30 Jan 2011 09:33:24 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/231/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[[BUG] Mif.Menu.Load under IE]]></title>
			<link>http://mifjs.net/forum/topic/234/new/posts/</link>
			<description><![CDATA[in file "Mif.Menu.Load.js"
line [color=#ff0000]35[/color]:

[b]item = new Mif.Menu.Item({[/b]

===>>

[b][color=#ff0000]var[/color] item = new Mif.Menu.Item({[/b]]]></description>
			<author><![CDATA[dummy@example.com (koaqiu)]]></author>
			<pubDate>Thu, 06 Jan 2011 12:08:51 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/234/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[node.set bug]]></title>
			<link>http://mifjs.net/forum/topic/232/new/posts/</link>
			<description><![CDATA[Node.set is not working correctly when setting more than one property.
For example after this code (from docs):
[code]
node.set({
    property: {name: 'new node name', openIcon: 'some-open-icon'},
    type: 'file',
    data: {x: 'y'}
});
[/code]
name and openIcon changes, data doesn't change and type is incorrectly set to ''.

If I try this:
  
[code]
node.set({ data: {x: 'y'}
});
[/code]

data changes.

MifTree version:1.2.6.3 / Mootools version 1.2.4]]></description>
			<author><![CDATA[dummy@example.com (sumic)]]></author>
			<pubDate>Sat, 13 Nov 2010 04:50:36 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/232/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[File Tree Demo]]></title>
			<link>http://mifjs.net/forum/topic/230/new/posts/</link>
			<description><![CDATA[Hi all,

This is my first post here. 
I was playing around with the mif.tree demos, online and on localhost. Online the File Tree demo was working correct, but on my local computer with latest Xampp installed, the File Tree demo did not work at all. Errors like:
[code]Mif not declared[/code]
or
[code]Children = null[/code]

I did a lot of searching in this forum and using Google, but no results.

Finaly I found the solution myself. In all .php files de code start with [code]<?[/code] after changing this to [code]<?php[/code] the demo was working again on my local system. 
(windows7 ultimate, Xampp 1.7.3 an Firefox 3.6.12)

Hope this helps other.

Regards, Klipper]]></description>
			<author><![CDATA[dummy@example.com (Klipper)]]></author>
			<pubDate>Sun, 07 Nov 2010 01:12:28 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/230/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Mif.Tree KeyNav prevents rename pointer moving on arrow keys]]></title>
			<link>http://mifjs.net/forum/topic/227/new/posts/</link>
			<description><![CDATA[When using the rename function and the keynav function you can't move the text cursor within the rename field using the arrow keys. This prevents a user from being able to modify the field with a keyboard alone. I need to fix this pretty soon so I'll add a fix if I can.]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Fri, 10 Sep 2010 15:20:11 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/227/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Mif.Tree key events are not fired  when tree is embedded into iframe]]></title>
			<link>http://mifjs.net/forum/topic/225/new/posts/</link>
			<description><![CDATA[Hello,

Mif.Tree key events are not fired  when tree is embedded into iframe.

Navkey won't work properly and  tree.key is empty on drag events.

Any ideas of what occurs ? 
I'm running firefox 3.6.8 on Mac

I've attached a minimal test case  and you can take look online here
[url]http://www.eomplus.net/test[/url]]]></description>
			<author><![CDATA[dummy@example.com (scramatte)]]></author>
			<pubDate>Thu, 12 Aug 2010 09:36:32 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/225/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[cookie storage demo does not work]]></title>
			<link>http://mifjs.net/forum/topic/222/new/posts/</link>
			<description><![CDATA[it does not work in ie6 and firework3.6(other brower does not test)

attachment is message from firebug]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Fri, 30 Jul 2010 11:02:43 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/222/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Mif.Menu.KeyNav bug]]></title>
			<link>http://mifjs.net/forum/topic/205/new/posts/</link>
			<description><![CDATA[In Mif.Menu.KeyNav.js, action method throw exception if current var is null

       ...
	action: function(current){
		if(!current) return; // this line fix the issue ...
		current.menu.close(current);
	}
        ...]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Sun, 21 Mar 2010 16:11:12 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/205/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[error in Chrome with method switch]]></title>
			<link>http://mifjs.net/forum/topic/190/new/posts/</link>
			<description><![CDATA[In my case I have a mif tree listing that shows name of groups.
I have an ajax function that returns a json object with groups that are linked to some other variable.
onSuccess of that ajax request I walk through the returned groups. For each group I walk through the tree and when the group id matches the node id I call "this.switch('checked')" so that my tree's checkboxes are checked.

Chrome throws an error "Unexpected token switch", I think because of the (native) switch method.
If I copy the switch method in miftree.js and call it "glitch" and call that everything works fine, so I think that method in miftree should be renamed. Maybe to something like check or switchMe or _switch.

I'm using a build from the trunk btw, but I think this applies to all "versions".]]></description>
			<author><![CDATA[dummy@example.com (Rolf)]]></author>
			<pubDate>Mon, 25 Jan 2010 11:25:53 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/190/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Cookie storage with 2 trees doesn't works as expected]]></title>
			<link>http://mifjs.net/forum/topic/193/new/posts/</link>
			<description><![CDATA[Hello,

I've got 2 trees on the same page. I've setup Cookie storage on both (inside of the initialize method). 
Both have ID for each nodes.  

When you reload the page seems that cookie storage is restore only for one of the tree. The last
which you have interacted with.]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Sun, 24 Jan 2010 09:22:47 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/193/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Cookie storage demo (mif.tree) does not work]]></title>
			<link>http://mifjs.net/forum/topic/192/new/posts/</link>
			<description><![CDATA[In the [url=http://mifjs.net/tree/Demos/index.html]demo page[/url], the demo "cookie storage" does not work in Firefox or Chrome (the tree does not load). It would be nice to see a working demo ;)]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Sat, 23 Jan 2010 20:57:54 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/192/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[under IE8 , the content of the tree overflow from the tree div]]></title>
			<link>http://mifjs.net/forum/topic/179/new/posts/</link>
			<description><![CDATA[I viewed the demo using IE8 .  when the tree was expanded, the content which should hide overflow from the div of the tree]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Thu, 07 Jan 2010 19:49:34 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/179/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[events fire too early (oncheck etc.)]]></title>
			<link>http://mifjs.net/forum/topic/178/new/posts/</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 (moro)]]></author>
			<pubDate>Fri, 20 Nov 2009 14:34:26 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/178/new/posts/</guid>
		</item>
	</channel>
</rss>

