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 [EMAIL PROTECTED] 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);
}
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins