Hi Asaris,
thanks for this small example. I've just tried it out and can reproduce
the error.
It would be great if you could open a bug report for this issue and
attach the small code example to it. This would be a big helper for
fixing this bug.
Many thanks,
Alex
asaris wrote:
> Hi all,
>
> Destroying TreeFile in opened invisible TreeFolder that is in closed
> visible TreeFolder behaves strangely. Has anybody a fix or any suggestion?
>
> I wrote a quick code to replicate the issue. Open all folders, close
> folder "level 1". Click on button "delete", open folder "level 1",
> "level 3" html 'garbage' is there.
>
> ----------------------
> var tree = new qx.ui.tree.Tree("root");
> tree.setTop(100);
>
> var l1 = new qx.ui.tree.TreeFolder("level 1");
> tree.add(l1);
>
> var l2 = new qx.ui.tree.TreeFolder("level 2");
> var l2_1 = new qx.ui.tree.TreeFolder("level 2.1");
> l1.add(l2, l2_1);
>
> var l3 = new qx.ui.tree.TreeFile("level 3");
> l2.add(l3);
>
>
> tree.addToDocument();
>
> var b = new qx.ui.form.Button("delete");
>
> b.addEventListener("execute",
> function (evt)
> {
> l3.destroy();
> });
> b.addToDocument();
> ----------------------
>
> asaris
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel