[Laszlo-checkins] r11224 - openlaszlo/trunk/WEB-INF/lps/lfc/core

bargull@openlaszlo.org bargull at openlaszlo.org
Thu Sep 25 06:19:50 PDT 2008


Author: bargull
Date: 2008-09-25 06:19:48 -0700 (Thu, 25 Sep 2008)
New Revision: 11224

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
Log:
Change 20080925-bargull-ZHa by bargull at dell--p4--2-53 on 2008-09-25 11:11:11
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: grid example for swf9

New Features:

Bugs Fixed: LPP-7058

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

Documentation:

Release Notes:

Details:
Don't add property if value is undefined, also compare to addProperty in Class.lzs
(This fixes only the AS3 runtime error in the example, focusing is still broken)
    

Tests:



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2008-09-25 12:58:48 UTC (rev 11223)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2008-09-25 13:19:48 UTC (rev 11224)
@@ -60,7 +60,9 @@
     // call super(). Need to make those real compile time methods (and setters).
     /** @access private */
     function addProperty(key:*,val:*):void {
-      this[key] = val;
+      if (val !== undefined) {
+        this[key] = val;
+      }
     }
   }
 



More information about the Laszlo-checkins mailing list