Change 20090529-maxcarlson-8 by maxcarl...@bank on 2009-05-29 16:04:26
PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add mouseevents attribute to html component to enable/disable
iframe mouse events
Bugs Fixed: LPP-8233 - Safari is intercepting mouseup/mousedown/click
events over an iframe
Technical Reviewer: hminsky
QA Reviewer: mdemmon
Details: html - Add mouseevents attribute that to enable/disable
sending of iframe mouse events mousedown/up/click, etc. Rename
srcset flag -> __srcset.
iframemanager - Add __sendmouseevents hash to track event sending for
each iframe. Clear mouse listeners before unloading or destroying
iframes. Refactor iframe event registration/unregistration to
__setSendMouseEvents(). Call __setSendMouseEvents() after iframes
finish loading to listen for mouse events if __sendmouseevents is true
for the iframe id.
Tests: Testcase from LPP-8233 works in Safari if the <html/> instance
has mouseevents set to false in test/extensions/html.lzx.
Files:
M lps/components/extensions/html.lzx
M lps/includes/source/iframemanager.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090529-maxcarlson-8.tar