[Laszlo-dev] For Review: Change 20070711-ben-6 Summary: Fix getContextMenu() again
Benjamin Shine
ben at laszlosystems.com
Wed Jul 11 15:48:23 PDT 2007
Change 20070711-ben-6 by ben at bens-g5.local on 2007-07-11 15:40:04 PDT
in /Users/ben/src/svn/openlaszlo/branches/legals
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix getContextMenu() again
New Features:
Bugs Fixed: : LPP-4155 (again)
Technical Reviewer: pbr (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
This change re-applies changes from r5552, which were obliterated
accidentally with r5568.
Release Notes:
Details:
Tests:
ant lztest passes
This app runs in dhtml and swf:
<canvas debug="true">
<button text="getContextMenu">
<handler name="onclick">
var cm = canvas.getContextMenu();
var del = new LzDelegate (this, 'myHandler');
cm.addItem(cm.makeMenuItem('My Function', del));
Debug.write(cm);
</handler>
<method name="myHandler">
Debug.write("myHandler");
</method>
</button>
</canvas>
Files:
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070711-
ben-6.tar
More information about the Laszlo-dev
mailing list