[Laszlo-dev] Help fixing LPP-5926

André Bargull a.bargull at intensis.de
Sat May 3 13:18:16 PDT 2008


The error in the debug-mode is the same as in 
"http://www.openlaszlo.org/jira/browse/LPP-5058".

If you take a look at the compiled js-file, you'll see a named function, 
which is bad for IE:
> *hex_md5* =
> /* -*- file: md5.js#23.1 -*- */
> function *hex_md5* ($1_s) {
> /* -*- file: #23 -*- */
> return binl2hex(core_md5(str2binl($1_s), $1_s.length * chrsz))
> };
However, to get around this issue until LPP-5058 is fixed, you can 
simply define the script as "immediate":
> <script when="immediate" src="md5.js" />


> 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



More information about the Laszlo-dev mailing list