Change 20090508-maxcarlson-L by maxcarl...@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: [email protected]

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

Reply via email to