[Laszlo-checkins] r6351 - openlaszlo/branches/legals/lps/components/base

max@openlaszlo.org max at openlaszlo.org
Tue Sep 4 15:40:14 PDT 2007


Author: max
Date: 2007-09-04 15:40:04 -0700 (Tue, 04 Sep 2007)
New Revision: 6351

Modified:
   openlaszlo/branches/legals/lps/components/base/style.lzx
Log:
Change 20070904-maxcarlson-A by maxcarlson at plastik on 2007-09-04 15:08:41 PDT
    in /Users/maxcarlson/openlaszlo/legals
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Eliminate style warning for components

New Features:

Bugs Fixed: LPP-4580 - DHTML canvas background color is cleared when any component is included

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Check for this['canvascolor'] instead of this.canvascolor.
    

Tests: http://localhost:8080/legals/examples/components/style_example.lzx?debug=true no longer warns about style.lzx



Modified: openlaszlo/branches/legals/lps/components/base/style.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/base/style.lzx	2007-09-04 22:35:22 UTC (rev 6350)
+++ openlaszlo/branches/legals/lps/components/base/style.lzx	2007-09-04 22:40:04 UTC (rev 6351)
@@ -87,7 +87,7 @@
         this.isdefault = def;
         if (isdefault) {
             global._componentmanager.service.setDefaultStyle(this);
-            if (this.canvascolor != null) {
+            if (this['canvascolor'] != null) {
                  canvas.setBGColor(this.canvascolor);
             }
         }



More information about the Laszlo-checkins mailing list