Topic: Mif.Tree() Never init's with element is null
what am I missing?
even the simplest:
sandbox.mooTree = new Mif.Tree({
container: document.id('my-container-id'),
forest: true,
initialize: function(){
this.initCheckbox('simple');
new Mif.Tree.KeyNav(this);
},
});
errors out with element is null in Mif.Tree at:
...
this.wrapper = new Element('div').addClass('mif-tree-wrapper').injectInside(this.container);
...
I never even get a chance to load any json
container defined as:
<div id="my-container-id"></div>
and is definitely available before the Tree() call - I've checked.
Last edited by Codename: Steeve Knight (2010-06-19 20:19:04)