[Laszlo-dev] For Review: Change 20080604-maxcarlson-x Summary: Prevent a sprite from being added to more than one parent

Max Carlson max at openlaszlo.org
Wed Jun 4 21:23:51 PDT 2008


Change 20080604-maxcarlson-x by maxcarlson at Roboto on 2008-06-04  
21:11:58 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Prevent a sprite from being added to more than one parent

Bugs Fixed: LPP-5228 - LzView#addSubview: sprite can be added to  
several parent-sprites (DHTML)

Technical Reviewer: a.bargull at intensis.de
QA Reviewer: hminsky
Doc Reviewer: (pending)

Details: LzSprite.js - Test _parent to prevent a sprite from being  
added to a parent twice.

LaszloView.lzs - Move addedToParent test to top of method to prevent  
possible duplicate calls to sprites.

Tests: ant lztest, smoketest

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/views/LaszloView.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080604-maxcarlson-x.tar


More information about the Laszlo-dev mailing list