PDA

View Full Version : LPS 3.1 - LoadJS and LoadURL broken?


wjl
11-18-2005, 01:43 AM
Hi all,

I am evaluating the new version of LPS 3.1 (previously I was using 3.0.2). It seems LzBrowser's LoadJS() and LoadURL() is broken? I get a 'call to undefined method' error. The example given for LoadURL() in the documentation LZX Reference (under LZBrowser section) also does not work.

I have run through the change log, but I can't find anything that says LoadJS() and LoadURL() is changed. Am I missing something here?

Thanks and regards,
WJL

d~l
11-18-2005, 01:50 AM
Note that 3.1 script is case sensitive, so

LzBrowser.loadJS('function_name(args)');

is not equivalent to

LzBrowser.LoadJS('function_name(args)');

wjl
11-18-2005, 02:01 AM
You are right! After changing my spelling it works.

This means the code sample for loadURL() in LZX reference 3.1 needs to be updated accordingly.

Thanks!