[Laszlo-dev] For Review: Change 20061104-Philip-8 Summary: Call clearTimeout() when destroying images on IE6 dhtml

Max Carlson max at openlaszlo.org
Sat Nov 4 13:34:17 PST 2006


Sorry, you do need this line:

-    if (this.__LZimg) this.__discardElement(this.__LZimg)

Other than that, approved!

-Max

Philip Romanik wrote:
> Note: This change supercedes Change 20061103-Philip-8
> 
> Change 20061104-Philip-8 by Philip at Philip-DC on 2006-11-04 16:00:33 EST
>     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/legals
> 
> Summary: Call clearTimeout() when destroying images on IE6 dhtml
> 
> New Features:
> 
> Bugs Fixed:
> 
> Technical Reviewer: max
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Details:
> This is a change from Max which I tested. Under some cases an image can 
> be removed but there is an outstanding timer that must be deleted. When 
> an image gets destroyed, the code checks to see if there is an 
> outstanding timer and calls clearTimeout() to disable it. This is only 
> used for IE6 dhtml.
> 
> 
> Tests:
> examples/components/grid_example.lzx
> 
> Files:
> M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20061104-Philip-8.tar
> 
> 


More information about the Laszlo-dev mailing list