[Laszlo-dev] For Review: Change 20090515-bargull-LDA Summary: contextmenu delegate / disabled contextmenu items (DHTML)
André Bargull
andre.bargull at udo.edu
Fri May 15 09:48:00 PDT 2009
Change 20090515-bargull-LDA by bargull at dell--p4--2-53 on 2009-05-15 17:16:16
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: contextmenu delegate / disabled contextmenu items (DHTML)
New Features:
Bugs Fixed: LPP-8190 (Context menu state not updated immediately in
DHTML), LPP-8191 (disabled contextmenuitems lose their ending line break
in dhtml)
Technical Reviewer: max
QA Reviewer: mdemmon
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
LPP-8190:
Call the contextmenu delegate before sending the onmenuopen-event and
constructing the lzcontextmenu-div. This is compliant with the
swf-kernel implementations.
LPP-8191:
To match swf look&feel, disabled contextmenu items now have a
hover-effect and selection uses onmouseup instead of onmousedown.
Add a new "disabled contextmenu item" css-class to LzSprite. Need to use
<a> instead of <span> because IE implements :hover only for <a>.
And add onclick-handler to prevent default action (required because
onmouseup is used).
Tests:
see bugreport (tested with Firefox, Safari, IE)
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090515-bargull-LDA.tar
More information about the Laszlo-dev
mailing list