<?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]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/forum/4/"/>
	<updated>2011-05-03T06:17:48Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/</id>
		<entry>
			<title type="html"><![CDATA[DOM Tree example in Firefox]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/255/new/posts/"/>
			<summary type="html"><![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]]></summary>
			<author>
				<name><![CDATA[mominet]]></name>
				<uri>http://mifjs.net/forum/user/209/</uri>
			</author>
			<updated>2011-05-03T06:17:48Z</updated>
			<id>http://mifjs.net/forum/topic/255/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[documentation not rendering]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/242/new/posts/"/>
			<summary type="html"><![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?]]></summary>
			<author>
				<name><![CDATA[Bloodsucker]]></name>
				<uri>http://mifjs.net/forum/user/202/</uri>
			</author>
			<updated>2011-04-19T18:38:04Z</updated>
			<id>http://mifjs.net/forum/topic/242/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug in unchecked nodes]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/231/new/posts/"/>
			<summary type="html"><![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]]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/168/</uri>
			</author>
			<updated>2011-01-30T09:33:24Z</updated>
			<id>http://mifjs.net/forum/topic/231/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[BUG] Mif.Menu.Load under IE]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/234/new/posts/"/>
			<summary type="html"><![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]]]></summary>
			<author>
				<name><![CDATA[koaqiu]]></name>
				<uri>http://mifjs.net/forum/user/180/</uri>
			</author>
			<updated>2011-01-06T12:08:51Z</updated>
			<id>http://mifjs.net/forum/topic/234/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[node.set bug]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/232/new/posts/"/>
			<summary type="html"><![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]]></summary>
			<author>
				<name><![CDATA[sumic]]></name>
				<uri>http://mifjs.net/forum/user/169/</uri>
			</author>
			<updated>2010-11-13T04:50:36Z</updated>
			<id>http://mifjs.net/forum/topic/232/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[File Tree Demo]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/230/new/posts/"/>
			<summary type="html"><![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]]></summary>
			<author>
				<name><![CDATA[Klipper]]></name>
				<uri>http://mifjs.net/forum/user/166/</uri>
			</author>
			<updated>2010-11-07T01:12:28Z</updated>
			<id>http://mifjs.net/forum/topic/230/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mif.Tree KeyNav prevents rename pointer moving on arrow keys]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/227/new/posts/"/>
			<summary type="html"><![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.]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/72/</uri>
			</author>
			<updated>2010-09-10T15:20:11Z</updated>
			<id>http://mifjs.net/forum/topic/227/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mif.Tree key events are not fired  when tree is embedded into iframe]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/225/new/posts/"/>
			<summary type="html"><![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]]]></summary>
			<author>
				<name><![CDATA[scramatte]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2010-08-12T09:36:32Z</updated>
			<id>http://mifjs.net/forum/topic/225/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[cookie storage demo does not work]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/222/new/posts/"/>
			<summary type="html"><![CDATA[it does not work in ie6 and firework3.6(other brower does not test)

attachment is message from firebug]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/153/</uri>
			</author>
			<updated>2010-07-30T11:02:43Z</updated>
			<id>http://mifjs.net/forum/topic/222/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mif.Menu.KeyNav bug]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/205/new/posts/"/>
			<summary type="html"><![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);
	}
        ...]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2010-03-21T16:11:12Z</updated>
			<id>http://mifjs.net/forum/topic/205/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[error in Chrome with method switch]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/190/new/posts/"/>
			<summary type="html"><![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".]]></summary>
			<author>
				<name><![CDATA[Rolf]]></name>
				<uri>http://mifjs.net/forum/user/96/</uri>
			</author>
			<updated>2010-01-25T11:25:53Z</updated>
			<id>http://mifjs.net/forum/topic/190/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Cookie storage with 2 trees doesn't works as expected]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/193/new/posts/"/>
			<summary type="html"><![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.]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2010-01-24T09:22:47Z</updated>
			<id>http://mifjs.net/forum/topic/193/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Cookie storage demo (mif.tree) does not work]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/192/new/posts/"/>
			<summary type="html"><![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 ;)]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/120/</uri>
			</author>
			<updated>2010-01-23T20:57:54Z</updated>
			<id>http://mifjs.net/forum/topic/192/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[under IE8 , the content of the tree overflow from the tree div]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/179/new/posts/"/>
			<summary type="html"><![CDATA[I viewed the demo using IE8 .  when the tree was expanded, the content which should hide overflow from the div of the tree]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/106/</uri>
			</author>
			<updated>2010-01-07T19:49:34Z</updated>
			<id>http://mifjs.net/forum/topic/179/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[events fire too early (oncheck etc.)]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/178/new/posts/"/>
			<summary type="html"><![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?]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/96/</uri>
			</author>
			<updated>2009-11-20T14:34:26Z</updated>
			<id>http://mifjs.net/forum/topic/178/new/posts/</id>
		</entry>
</feed>

