From 4ede3657e66e4867f9fb0205ae81c646f86731fc Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 15 Sep 2007 01:09:54 +0000 Subject: [PATCH] elofgren: BUGFIX: Fix bottom tab border collision with action buttons in 'Files & Images' & 'Security' sections in IE. Reported here: http://www.silverstripe.com/google-summer-of-code-forum/flat/1654?showPost=1780#post1780 (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41875 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 38daeec7..5ef9de6f 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -126,11 +126,7 @@ window.ontabschanged = function() { if( _TAB_DIVS_ON_PAGE ) { for(i = 0; i < _TAB_DIVS_ON_PAGE.length; i++ ) { - // console.log(_TAB_DIVS_ON_PAGE[i].id); - if(navigator.appName == "Microsoft Internet Explorer") - fitToParent(_TAB_DIVS_ON_PAGE[i], i == 0 ? 18 : 30); - else - fitToParent(_TAB_DIVS_ON_PAGE[i], /*3*/ 30); + fitToParent(_TAB_DIVS_ON_PAGE[i], 30); } } }