Martin Wittemann schrieb:
> Hi Cajus,
> 
> you can path the 0.8.2 tree controller yourself like i did in the  
> trunk yesterday. You have to add two snippets:
> 
> 1.
> this.__childrenRef = {};
> in line 505 (below root.destroy();) in the __emptyTarget method.
> 
> 2.
> if (value == null || value.createItem == null) {
>    return;
> }
> in line 702 (above this._startSelectionModification();) in the  
> _setCreateItem method.
> 
> That should help and you should still have the same behavior as you  
> had before.
> 
> Best,
> Martin
> 
> P.S. Thanks for the flowers. We do our best. :)

Hehe. No problem. I've used the Tree.js including your patch and it works fine. 
Thanks.

Just found another issue: you cannot reset the treeController model without 
getting errors. Just call treeController.resetModel() in my example.

Cheers,
Cajus

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to