[Laszlo-checkins] r11226 - openlaszlo/trunk/lps/components/base

bargull@openlaszlo.org bargull at openlaszlo.org
Thu Sep 25 06:44:41 PDT 2008


Author: bargull
Date: 2008-09-25 06:44:39 -0700 (Thu, 25 Sep 2008)
New Revision: 11226

Modified:
   openlaszlo/trunk/lps/components/base/basescrollbar.lzx
Log:
Change 20080925-bargull-F09 by bargull at dell--p4--2-53 on 2008-09-25 15:44:27
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix swf9 runtime error

New Features:

Bugs Fixed: LPP-7056

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

Documentation:

Release Notes:

Details:
    

Tests:



Modified: openlaszlo/trunk/lps/components/base/basescrollbar.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basescrollbar.lzx	2008-09-25 13:44:03 UTC (rev 11225)
+++ openlaszlo/trunk/lps/components/base/basescrollbar.lzx	2008-09-25 13:44:39 UTC (rev 11226)
@@ -11,7 +11,7 @@
 
         <!--- The view that is controlled by the scrollbar.
               @keywords final -->
-        <attribute name="scrolltarget" value="0" type="expression" when="always"/>
+        <attribute name="scrolltarget" value="null" type="expression" when="always"/>
 
         <!--- Axis may be "x" or "y", controls the orientation and default
               scrollattr, default: "y"
@@ -166,7 +166,7 @@
             }
 
             if (!this.focusview) {
-                if (this.scrolltarget['focusable']) {
+                if (this.scrolltarget && this.scrolltarget['focusable']) {
                     this.focusview = this.scrolltarget;
                 } else if (this.immediateparent['focusable']) {
                     this.focusview = this.immediateparent;



More information about the Laszlo-checkins mailing list