MINOR Moved tab overflow logic from TabSet.js into more specific CMSMain.js, its not necessary outside of a layout-managed CMS context

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92623 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:37:16 +00:00
parent bc55ad37d5
commit 94d03555a5

View File

@ -29,6 +29,9 @@ var ss_MainLayout;
window[timerID] = setTimeout(function() {self._resizeChildren();}, 200);
});
// If tab has no nested tabs, set overflow to auto
$(this).find('.tab').not(':has(.tab)').css('overflow', 'auto');
this._resizeChildren();
this._super();