Change 20100809-maxcarlson-j by maxcarl...@friendly on 2010-08-09 11:43:35 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Modify context menu to be compatible Adobe AIR player
Bugs Fixed: LPP-9263 - Modify context menu to be compatible Adobe AIR player
Technical Reviewer: hminsky
QA Reviewer: [email protected]
Details:
dhtml,swf/LzSprite - Add customcontextmenu capability, set to true.
swf9/LzSprite - Add customcontextmenu capability, set to true when available.
LaszloCanvas - Don't set default contextmenu if customcontextmenu capability is
true.
LzContextMenu - Warn for calls to addItem() and clearItems() if
customcontextmenu capability is false.
Tests: Context menus work as before and don't warn in AIR.
Files:
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M WEB-INF/lps/lfc/helpers/LzContextMenu.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100809-maxcarlson-j.tar