Title: Question about window.lzx
I get a warning in the debug window when a custom event handler is called on an alert in OL 3.3.1.   The run-time warning is:

WARNING: lz/window.lzx:203:  reference to undefined variable ‘res’

Looking around like 203 of window.lzx I see this method:

<!--- Opens the alert window. -->
<method name="open">
    this.result = null;
    if ( this.onresult ){
        this.onresult.sendEvent( res );
    }
    super.open();
</method>

And it does appear indeed that “res” is undefined.  Unless I’m missing something.

The application code in question looks like this:

<alert name="loginAlertMessage" width="400">    <handler name="onresult" args="event">
        if (event) {LzFocus.setFocus(userName,true);}    </handler> </alert>

Any thoughts?

tcf
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to