[Laszlo-checkins] r14270 - in openlaszlo/branches/4.4: . lps/components/lz

ptw@openlaszlo.org ptw at openlaszlo.org
Thu Jul 2 05:23:31 PDT 2009


Author: ptw
Date: 2009-07-02 05:23:27 -0700 (Thu, 02 Jul 2009)
New Revision: 14270

Modified:
   openlaszlo/branches/4.4/
   openlaszlo/branches/4.4/lps/components/lz/basefloatinglist.lzx
Log:
Merged revisions 14269 via svnmerge from 
http://svn.openlaszlo.org/openlaszlo/trunk

.......
  r14269 | ptw | 2009-07-02 08:05:33 -0400 (Thu, 02 Jul 2009) | 18 lines
  
  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
.......



Property changes on: openlaszlo/branches/4.4
___________________________________________________________________
Name: svnmerge-integrated
   - /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124,14127,14129,14146-14156,14159,14165,14177,14184,14189,14192-14194,14200-14206,14210-14215,14217-14219,14226,14229,14235,14237,14266
   + /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124,14127,14129,14146-14156,14159,14165,14177,14184,14189,14192-14194,14200-14206,14210-14215,14217-14219,14226,14229,14235,14237,14266,14269

Modified: openlaszlo/branches/4.4/lps/components/lz/basefloatinglist.lzx
===================================================================
--- openlaszlo/branches/4.4/lps/components/lz/basefloatinglist.lzx	2009-07-02 12:05:33 UTC (rev 14269)
+++ openlaszlo/branches/4.4/lps/components/lz/basefloatinglist.lzx	2009-07-02 12:23:27 UTC (rev 14270)
@@ -130,7 +130,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