Topic: node.set bug

Node.set is not working correctly when setting more than one property.
For example after this code (from docs):

node.set({
    property: {name: 'new node name', openIcon: 'some-open-icon'},
    type: 'file',
    data: {x: 'y'}
});

name and openIcon changes, data doesn't change and type is incorrectly set to ''.

If I try this:
 

node.set({ data: {x: 'y'}
});

data changes.

MifTree version:1.2.6.3 / Mootools version 1.2.4

Last edited by sumic (2010-11-13 07:52:48)

Thumbs up Thumbs down