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
This commit is contained in:
Ingo Schommer 2007-09-15 01:09:54 +00:00
parent 65e0686fa0
commit 4ede3657e6

View File

@ -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);
}
}
}