[opencms-dev] Script errors in with Firefox 3.5 / Opencms 7.0.5
Achim Westermann
a.westermann at alkacon.com
Fri Jul 3 11:39:41 CEST 2009
Hi Roman,
thanks, this was a hint for us. We found a similar snippet in tree.js,
changed it and it looks good on my FF 3.5.
Kind Regards,
Achim.
-------------------
Achim Westermann
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Roman Uhlig schrieb:
> To me it seems it's only happening in the following scenario, when you use a
> not declared variable with the same identifier in alternative parts of a
> javascript script, e.g.:
>
> if (true) {
> v1 = 'a';
> } else {
> v1 = 'b';
> }
>
> while this is working fine:
>
> var v1;
> if (true) {
> v1 = 'a';
> } else {
> v1 = 'b';
> }
>
> Best regards,
> Roman
More information about the opencms-dev
mailing list