Author: max
Date: 2007-08-24 20:33:20 -0700 (Fri, 24 Aug 2007)
New Revision: 6229
Modified:
openlaszlo/branches/legals/lps/components/base/style.lzx
Log:
Change 20070824-maxcarlson-X by [EMAIL PROTECTED] on 2007-08-24 16:44:05 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix canvas bgcolor value when components are included
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: Only set the canvas bgcolor if we've got a value defined.
Tests: See LPP-4580.
Modified: openlaszlo/branches/legals/lps/components/base/style.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/base/style.lzx 2007-08-25
00:48:21 UTC (rev 6228)
+++ openlaszlo/branches/legals/lps/components/base/style.lzx 2007-08-25
03:33:20 UTC (rev 6229)
@@ -87,7 +87,7 @@
this.isdefault = def;
if (isdefault) {
global._componentmanager.service.setDefaultStyle(this);
- if (typeof(this.canvascolor) != "undefined") {
+ if (this.canvascolor != null) {
canvas.setBGColor(this.canvascolor);
}
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins