From 3731deb460ec634872ee15812993f4bcb033b50b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:35:43 +0000 Subject: [PATCH] API CHANGE Removed isVisible() javascript method git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92592 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 7009acb6..5fd5cd11 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -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() { window.exiting = true; // this is used by prototype