« Return to Thread: Script errors in with Firefox 3.5 / Opencms 7.0.5

Re: Script errors in with Firefox 3.5 / Opencms 7.0.5

by Roman Uhlig :: Rate this Message:

Reply to Author | View in Thread

Hi Achim,

this gives very interesting results:

in OpenCms when clicking on a folder item in workplace:

assignment to undeclared variable i
[Break on this error] for (i=0; i<childs.length; i++) {\r\n
tree.js (Linie 421)

in one of our own webapps/js scripts:

assignment to undeclared variable queueLength
[Break on this error] queueLength = queue.length;\r\n
async.js (Linie 618)

Since when do you HAVE TO declare variables in javascript?

 « Return to Thread: Script errors in with Firefox 3.5 / Opencms 7.0.5