mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
e7562ba0ab
commit
3731deb460
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user