[Laszlo-dev] For Review: Change 20090415-bargull-UJC Summary: fix offset bug in insertBefore and replaceChild

André Bargull andre.bargull at udo.edu
Wed Apr 15 13:55:14 PDT 2009


Change 20090415-bargull-UJC by bargull at dell--p4--2-53 on 2009-04-15 22:26:03
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix offset bug in insertBefore and replaceChild

New Features:

Bugs Fixed: LPP-8037 (insertBefore ordering bug)

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
After calling __LZremoveChild() in insertBefore() resp. replaceChild(), 
the offset may need to be adjusted to compensate the splice operation on 
the childNodes array. Also set __LZcoDirty to true after removing child 
in __LZremoveChild().


Tests:
testcases from bugreport

Files:
M WEB-INF/lps/lfc/data/LzDataElement.lzs

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20090415-bargull-UJC.tar



More information about the Laszlo-dev mailing list