[Laszlo-dev] Help fixing LPP-5926

P T Withington ptw at pobox.com
Sun May 4 10:45:25 PDT 2008


What is the intent of passing 'null' as the 'this' arg to apply?  Why  
not:

   window.setInterval.apply(window, arguments);

?

On 2008-05-03, at 16:09 EDT, Max Carlson wrote:

> tools/svn/binsearch.rb could help here.  If you notice any broken  
> builds as you use the tool, please update the binsearch.rb script so  
> it will skip them in the future...
>
> Also, be sure you're not running in debug mode - there may be issues  
> there.  Instead, try running in IE 7 with the IE web developer  
> toolbar.
>
> Philip Romanik wrote:
>> http://jira.openlaszlo.org/jira/browse/LPP-5926
>> lzpix doesn't run in IE6/IE7 dhtml. if you try and drag a picture  
>> in IE7 you get an error (Object doesn't support this property or  
>> method) that I tracked down to the line in LzTimeKernel.js:
>>    window.setInterval.apply(null, arguments);
>> I'm not sure why window isn't an object unless something is  
>> shadowing it.  When I tried to run lzpix in debug mode, I got a  
>> different error, "Object expected" in a lzpix file dataman.lzx:
>>    var api_sig = hex_md5(api_sig_string);
>> The hex_md5 method is loaded in a script tag at the top of  
>> dataman.lzx
>> Any ideas?
>> Thanks!
>> Phil
>
> -- 
> Regards,
> Max Carlson
> OpenLaszlo.org



More information about the Laszlo-dev mailing list