Author: max
Date: 2007-08-17 12:38:57 -0700 (Fri, 17 Aug 2007)
New Revision: 6125

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Change 20070817-maxcarlson-J by [EMAIL PROTECTED] on 2007-08-17 11:45:38 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix view.updateResourceSize() in DHTML

New Features:

Bugs Fixed: LPP-4240 - View.updateResourceSize() generates error in DHTML

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

Documentation:

Release Notes:

Details: Implement updateResourceSize() in DHTML.
    

Tests: See LPP-4240



Modified: 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js     
2007-08-17 19:11:13 UTC (rev 6124)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js     
2007-08-17 19:38:57 UTC (rev 6125)
@@ -1433,6 +1433,10 @@
     return this.__z;
 }
 
+LzSprite.prototype.updateResourceSize = function () {
+    this.owner.resourceload({width: this.resourceWidth, height: 
this.resourceHeight, resource: this.resource, skiponload: true});
+}
+
 LzSprite.prototype.unload = function () {
     if (this.__ImgPool) {
         this.__ImgPool.destroy();


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to