closing a window

View: New views
2 Messages — Rating Filter:   Alert me  

closing a window

by mathieu.cier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

i've a bug when closing a rialto window.
my app's architecture is such as your online demo.
i use the latest version of rialto (30/05/08) and since the
29/05/08 one, i get an error message which is:

this.getChild is not a function
[Break on this error] var node = this.getChild(id);

it works well with the 09/05/08 version.

mathieu


Re: closing a window

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I fixed it. You can update the rialto.js file

By the way it appear in deprecated function of the treenode:
removeNode

You should use now removeChild passing the node in parameter and no
more the node id.

Cyril



--- In rialto-dev@..., "mathieu.cier" <mathieu.cier@...>
wrote:

>
> hi,
>
> i've a bug when closing a rialto window.
> my app's architecture is such as your online demo.
> i use the latest version of rialto (30/05/08) and since the
> 29/05/08 one, i get an error message which is:
>
> this.getChild is not a function
> [Break on this error] var node = this.getChild(id);
>
> it works well with the 09/05/08 version.
>
> mathieu
>


LightInTheBox - Buy quality products at wholesale price