rdewell
9 Apr 2009, 11:51 AM
isVisible should be written like the 2.2 form which is:
isVisible : function(deep) {
return !(this.isStyle(VISIBILITY, HIDDEN) || this.isStyle(DISPLAY, NONE));
}
The current 3.0 core version doesn't work as expected, esp for functions like toggle():
isVisible : function(deep) {
return !this.isStyle(VISIBILITY, HIDDEN) || !this.isStyle(DISPLAY, NONE);
}
isVisible : function(deep) {
return !(this.isStyle(VISIBILITY, HIDDEN) || this.isStyle(DISPLAY, NONE));
}
The current 3.0 core version doesn't work as expected, esp for functions like toggle():
isVisible : function(deep) {
return !this.isStyle(VISIBILITY, HIDDEN) || !this.isStyle(DISPLAY, NONE);
}