Approved!
On Wed, Sep 22, 2010 at 12:28 AM, Max Carlson wrote:
Change 20100921-maxcarlson-0 by maxcarl...@friendly on 2010-09-21
20:25:51 PDT
in /Users/maxcarlson/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix html.bringToFront() and sendToBack()
Bugs Fixed: LPP-9361 - HTML Tag sendToBack() and bringToFront() not
working
Technical Reviewer: promanik
QA Reviewer: hminsky
Details: html - Use this.iframeid since iframeid is declared
explicitly in an attribute. Pass target's z index into sendToBack()
and bringToFront() for swf. Rename setiframeid() -> __setiframeid().
iframemanager - Rename defaultz -> zoffset. setZ() always includes
computed zoffset (always 0 for DHTML). Track highest and lowest z
indexes to ensure bringToFront() and sendToBack() work reliably.
rte - call bringToFront() for the rte when the mouse goes down on the
window.
Tests: Dragging windows in examples/extensions/rte.lzx causes the
iframe to be brought to the front reliably in all runtimes.
Files:
M lps/components/extensions/html.lzx
M lps/includes/source/iframemanager.js
M examples/extensions/rte.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100921-maxcarlson-0.tar