Hi Max,

I tracked down a dhtml problem when running windows_example:

http://localhost:8080/legals/examples/components/window_example.lzx?lzr=dhtml

In handleMouseEvent() (in LzModeManager.lzx), the value of view can be null after __findInputtextSelection is called. Is it safe to just return in this condition? See my fix below:

Thanks!

Phil

--------------------

LzModeManager.handleMouseEvent= function ( view, eventStr ) {
    ...

    if (view == null ) {  // check if the mouse event is in a inputtext
        view = this.__findInputtextSelection();
    }

    //PBR I added these 2 lines of code as a work-around.
    if (view == null)
      return;

    ....
}

Reply via email to