Topic: Mootools 1.2.2

Thanks a lot for this wonderful peace of work. I'm using it in a small cms that i'm programming.
Works perfect with mootools 1.2.1. As I have planed to update my cms to mootools 1.2.2 I ran into problems with the mif.tree class.
I do receive some error in the Mif.Tree.Load. You already have discribed in the Post Parent.children is undefined to remove $family: {name: 'mif:tree:node'} in the Mif.Tree.Node.
The tree then works exepts that the drag & drop functionality which is then not available any more.

Are you already aware of some problems with mootools 1.2.2 and if yes, is there an update (version 1.1.1 or so) and when will it be available ?

Again Many thanks for this lovely extension !!!

Last edited by mogi (2009-04-29 09:27:47)

Re: Mootools 1.2.2

add this.options.initialize.call(this) at the end of Mif.Tree::initialize:

Mif.Tree = new Class({

    Implements: [new Events, new Options],
        
    options:{
        ...
    },
    
    initialize: function(options) {
        this.setOptions(options);
        ...
        this.options.initialize.call(this);
    },
        ...

Re: Mootools 1.2.2

fixed rev87

Re: Mootools 1.2.2

Thanks moro!! Sorry fpr the late replay, but I was a way for a few days.
With rev90 everything is working like a charm!!!  big_smile:D:D