Not approved. This change causes the canvas constructor to look like
this in dhtml:
canvas=new
(lz["canvas"])(null,{__LZproxied:"true",bgcolor:16777215,embedfonts:true,fontname:"Verdana,Vera,sans-serif",fontsize:11,fontstyle:"plain",height:400,lpsbuild:"9307
/Users/maxcarlson/openlaszlo/trunk-clean",lpsbuilddate:"2008-05-22T20:00:07-0700",lpsrelease:"Latest",lpsversion:"4.2.x",runtime:"dhtml",width:500});
lz["canvas"]() expects a single argument!
P T Withington wrote:
Change 20080522-ptw-j by [EMAIL PROTECTED] on 2008-05-22 21:01:24
EDT
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Try #2 at canvas subclasses
Bugs Fixed:
LPP-5186 'Runtime error using script function within attribute value
declaration for IE7 DHTML in nightly build 7411'
Technical Reviewer: promanik (pending)
QA Reviewer: max (pending)
Details:
Rework canvas subclasses to not try to override supeclass properties
Tests:
Amended test case from bug. swf9/hello
Files:
M WEB-INF/lps/server/src/org/openlaszlo/compiler/CanvasCompiler.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080522-ptw-j.tar
--
Regards,
Max Carlson
OpenLaszlo.org