From 4cde27dccf7cd42814927f87b4f428652b64d256 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 4 Feb 2010 04:52:03 +0000 Subject: [PATCH] BUGFIX: Add horizontal scrolling to reports when necessary. (from r96085) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98184 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 18c540bd..749d94fd 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -139,7 +139,7 @@ window.ontabschanged = function() { return; var fs = formEl.getElementsByTagName('fieldset')[0]; - if(fs) fs.style.height = formEl.style.height; + if(fs && fs.parentNode == formEl) fs.style.height = formEl.style.height; // var divs = document.getElementsBySelector('#Form_EditForm div'); /*for(i=0;i