application testprosjekt

import mobl::ui::generic

screen mylogin() {

screen root() {
script {

My intention is not to call another screen direct from script in root() but it describes the problem because its the same when I add more logic to it.

Uncaught TypeError: Cannot call method ‘hide’ of null
(anonymous function)testprosjekt.html:54

Submitted by Terje Pedersen on 7 April 2011 at 14:23

On 7 April 2011 at 14:25 Zef Hemel commented:

Hmm, this is probably a timing issue. This might fix it for now:

script {
sleep(100); // shorter may work

On 7 April 2011 at 14:33 Terje Pedersen commented:

No this one just delayed the problem ie if I used sleep(10000) the error appeared after 10s.

On 7 April 2011 at 14:43 Terje Pedersen commented:

previousScreen.dom is undefined

On 11 April 2011 at 10:42 Zef Hemel closed this issue.

On 11 April 2011 at 10:42 Zef Hemel commented:

This will be fixed in 0.4.3. By the way, you will get a slide effect when the screen loads, to avoid that, use:



On 11 April 2011 at 10:42 Zef Hemel tagged 0.4.3

Log in to post comments