API CHANGE Removed isVisible() javascript method

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92592 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:35:43 +00:00
parent e7562ba0ab
commit 3731deb460

View File

@ -36,13 +36,6 @@ Behaviour.register({
}); });
function isVisible(el) {
// if(typeof el.isVisible != 'undefined') return el.isVisible;
if(el.tagName == "body" || el.tagName == "BODY") return (el.isVisible = true);
else if(el.style.display == 'none') return (el.isVisible = false);
else return (el.isVisible = isVisible(el.parentNode));
}
LeftAndMain_window_unload = function() { LeftAndMain_window_unload = function() {
window.exiting = true; // this is used by prototype window.exiting = true; // this is used by prototype