mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
bc55ad37d5
commit
94d03555a5
@ -28,6 +28,9 @@ var ss_MainLayout;
|
||||
if (window[timerID]) clearTimeout(window[timerID]);
|
||||
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user