[Laszlo-dev] I found an IE7/dhtml problem that might be related to your last changeset

Max Carlson max at openlaszlo.org
Sun Jan 28 11:53:01 PST 2007


I snuck a fix for this in my last changeset.  Let me know if this takes 
care of the problem!

Philip Romanik wrote:
> Hi Max,
> 
> I stumbled onto an issue running the calendar app in IE7/dhtml. The code 
> is trying to set a variable to NaN:
> 
> http://localhost:8080/legals/demos/calendar/calendar.lzx?lzr=dhtml
> 
> Line 1978: Invalid Argument
> 
> LzSprite.prototype.setX = function ( x ){
>     if (x == null || x == this.x) return;
>     this.x = x;
>     //if (isNaN(x)) return;
>     this.__LZdiv.style.left = this.CSSDimension( x );  <===== 1978: x = NaN
>     if (LzSprite.prototype.quirks.fix_clickable) {
>         this.__LZclickdiv.style.left = this.__LZdiv.style.left;
>     }
> }
> 
> 
> Phil
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list