[Laszlo-dev] For Review: Change 20090508-maxcarlson-L Summary: Forward oncontextmenu events from iframes
Max Carlson
max at openlaszlo.org
Fri May 8 17:05:57 PDT 2009
Change 20090508-maxcarlson-L by maxcarlson at Bank on 2009-05-08 17:01:02
PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Forward oncontextmenu events from iframes
Bugs Fixed: LPP-8140 - Clicking on an iframe sometimes gives iframe
right click menu, but sometimes gives LZX right click menu
Technical Reviewer: hminsky
QA Reviewer: lorien at laszlosystems.com
Details: LzMouseKernel - __sendMouseMove() accepts optional x and y
offsets to correct the mouse position.
iframemanager - Register/unregister for iframe context menu events.
Pass the offset of the iframe into LzMouseKernel.__sentMouseMove() to
correct the positioning of context menus, then call
LzMouseKernel.__showContextMenu(), returning the value to cancel the
oncontextmenu event where needed.
Tests: See LPP-8140.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
M lps/includes/source/iframemanager.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090508-maxcarlson-L.tar
More information about the Laszlo-dev
mailing list