Author: max
Date: 2007-08-25 11:00:33 -0700 (Sat, 25 Aug 2007)
New Revision: 6238
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
Log:
Change 20070824-maxcarlson-B by [EMAIL PROTECTED] on 2007-08-24 20:54:28 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix smoketest in dhtml
New Features:
Bugs Fixed: LPP-4424 - smokecheck fails in dhtml
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Convert canvas.bgcolor to an int in DHTML.
Tests: see LPP-4424
Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
2007-08-25 17:48:04 UTC (rev 6237)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/views/LaszloCanvas.lzs
2007-08-25 18:00:33 UTC (rev 6238)
@@ -163,7 +163,11 @@
LzScreenKernel.setCallback(this, '__windowResize')
}
- this.bgcolor = args.bgcolor;
+ if (this.sprite.capabilities.readcanvassizefromsprite == true) {
+ this.bgcolor = LzUtils.color.hextoint(args.bgcolor);
+ } else {
+ this.bgcolor = args.bgcolor;
+ }
delete args.bgcolor;
this.lpsversion = args.lpsversion + "." + this.__LZlfcversion;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins