Author: ptw
Date: 2008-03-08 03:40:25 -0800 (Sat, 08 Mar 2008)
New Revision: 8210
Modified:
openlaszlo/trunk/lps/components/base/baseslider.lzx
Log:
Change 20080307-ptw-x by [EMAIL PROTECTED] on 2008-03-07 15:16:34 EST
in /Users/ptw/OpenLaszlo/ringding
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Stop infinite recursion in baseslider
Bugs Fixed:
LPP-5570 'Circular constraints break swf instantiation'
Technical Reviewer: max (Message-ID: <[EMAIL PROTECTED]>)
QA Reviewer: [EMAIL PROTECTED] (pending)
Details:
Initialize basesliderthumb#x so we don't end up comparing to NaN
in setX to break recursion
Tests:
Test case from bug
Modified: openlaszlo/trunk/lps/components/base/baseslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/baseslider.lzx 2008-03-07 20:41:02 UTC
(rev 8209)
+++ openlaszlo/trunk/lps/components/base/baseslider.lzx 2008-03-08 11:40:25 UTC
(rev 8210)
@@ -229,6 +229,7 @@
onmousedown="thedragstate.apply();"
onmouseup="thedragstate.remove();"
focusable="false"
+ x="0"
y="${(parent.height-height)/2}"
>
@@ -288,7 +289,7 @@
</class><!-- end basesliderthumb class -->
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins