Permalink
Browse files

API CHANGE Removed isVisible() javascript method

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92592 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent e7562ba commit 3731deb460ec634872ee15812993f4bcb033b50b @chillu chillu committed Nov 21, 2009
Showing with 0 additions and 7 deletions.
  1. +0 −7 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

0 comments on commit 3731deb

Please sign in to comment.