[Laszlo-dev] For Review: Change 20080602-maxcarlson-O Summary: Fix onmouseup in dhtml

Max Carlson max at openlaszlo.org
Mon Jun 2 19:37:26 PDT 2008


Change 20080602-maxcarlson-O by maxcarlson at Roboto on 2008-06-02  
19:30:58 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix onmouseup in dhtml

New Features:

Bugs Fixed: LPP-6072 - lzpix/dhtml You can't end a mouse drag

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

Documentation:

Release Notes:

Details: LzSprite.js - Conditionalize __mouseisdown treatment for IE  
to ensue onmouseupoutside works.  Move cleanup of  
LzMouseKernel.__lastMouseDown property from LzMouseKernel.js to  
__globalmouseup().

LzMouseKernel.js - Move cleanup of LzMouseKernel.__lastMouseDown  
property
to LzSprite.__globalmouseup().


Tests: See LPP-6072 for a testcase.  Also, /test/lfc/legals/ 
keyboardandmouse.lzx?lzr=dhtml&lzt=html shows both onmouseup and  
onmouseupoutside events when dragging inside the leftmost red box to  
the white canvas and releasing the mouse button in both IE and Firefox  
DHTML.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080602-maxcarlson-O.tar


More information about the Laszlo-dev mailing list