Change 20080528-maxcarlson-9 by [EMAIL PROTECTED] on 2008-05-28 16:30:12 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix mouse event handling in IE

New Features:

Bugs Fixed: LPP-5546 - IE7 DHTML Double clicking on large album (info) does not put album in the shopping cart - click 4X

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzKeyboardKernel.js - Initialize to correct default values, to prevent extra events being sent when the mouse moves.

LzSprite.js - Register for ondblclick in ie to simulate other browsers. Register for onmouseenter/leave instead of onmouseover/out in ie. Make artificial event sending more explicit with second argument to __mouseEvent(). Skip keyboard events for artificial mouse events, because there won't be any keyboard event data. Explicitly track mouseover/down state to ensure correct events are sent.

LzModeManager.lzs - Send global ondblclick events.

Tests: http://localhost:8080/trunk/test/lfc/legals/keyboardandmouse.lzx?lzr=dhtml now sends ondblclick and onmouseupoutside events in IE. All event sending behavior now consistent with Firefox and other browsers. SWF works as before, except it now sends the global ondblclick event.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzKeyboardKernel.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/services/LzModeManager.lzs

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080528-maxcarlson-9.tar

Reply via email to