[Laszlo-checkins] r14269 - openlaszlo/trunk/lps/components/lz
ptw@openlaszlo.org
ptw at openlaszlo.org
Thu Jul 2 05:05:37 PDT 2009
Author: ptw
Date: 2009-07-02 05:05:33 -0700 (Thu, 02 Jul 2009)
New Revision: 14269
Modified:
openlaszlo/trunk/lps/components/lz/basefloatinglist.lzx
Log:
Change 20090702-ptw-C by ptw at dueling-banjos.local on 2009-07-02 07:57:22 EDT
in /Users/ptw/OpenLaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Tweak for basefloatinglist
Bugs Fixed: LPP-8307 Change to basefloatinglist
Technical Reviewer: mdemmon (pending)
QA Reviewer: gliu (pending)
Details:
Prevent NaN errors in empty lists
Tests:
Need a test case for the bug
Modified: openlaszlo/trunk/lps/components/lz/basefloatinglist.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/basefloatinglist.lzx 2009-07-02 08:00:05 UTC (rev 14268)
+++ openlaszlo/trunk/lps/components/lz/basefloatinglist.lzx 2009-07-02 12:05:33 UTC (rev 14269)
@@ -146,7 +146,8 @@
<!--- @keywords private -->
<method name="_setScroll" > <![CDATA[
- var svHeight = this.interior.content.subviews[0].height;
+ var sv0 = this.interior.content.subviews[0];
+ var svHeight = sv0 ? sv0.height : 20;
var own_y = attachtarget.getAttributeRelative('y',canvas);
var menuCapHeight = getMenuCapHeight();
More information about the Laszlo-checkins
mailing list