(I am checking this changeset in)

Change philip-20110705-sNg by philip@PHILIP-I7 on 2011-07-05 14:07:36 EDT
    in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Detect mouseup when dragging over html component

New Features:

Bugs Fixed: LPP-9977

Technical Reviewer: (pending)
QA Reviewer: mdemmon
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:
iframemanager was not dispatching mouse events (to the html component) correctly. I fixed this and then found that the html component needed to call the low level mouse handler, LzMouseKernel.__mouseHandler(), rather than the call it was making (LzMouseKernel.handleMouseEvent). __mouseHandler() contains the code to detect when mouseup happens in a different element and generates the appropriate events to end dragging.


Tests:
Run the test from lpp-9977. In FF 3.6 (or later), drag the green box over the red (html) box. The green box does not drag over the html component, but if you release the mouse, the mouseup event is sent to end dragging.


Files:
M       lps/components/extensions/html.lzx
M       lps/includes/source/iframemanager.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/philip-20110705-sNg.tar

Reply via email to