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

Philip Romanik promanik at laszlosystems.com
Sun Jan 28 09:07:55 PST 2007


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



More information about the Laszlo-dev mailing list