Post 6 made on Sunday October 3, 2010 at 12:59 |
BluPhenix Long Time Member |
Joined: Posts: | December 2008 371 |
|
|
So, zone2on should always have a Boolean true|false.
As explained, zone2on in the Global space (setGlobal, getGlobal) does not have a boolean value, it is a string.
If i'm not mistaking, in javascript an uninitialised variable does not have a null value, but an undefined value. So w===null will not evaluate to true. Please correct me if I'm wrong.
If w is undefined, z2ind.visible = (w ? true : false); wlll not do anything.
|
|
|