X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/app/view/cls/TabPanel.js diff --git a/docs/app/view/cls/TabPanel.js b/docs/app/view/cls/TabPanel.js deleted file mode 100644 index 316a494d..00000000 --- a/docs/app/view/cls/TabPanel.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * The documentation panel. - * TODO: Source code tab, Examples, Q&A - */ -Ext.define('Docs.view.cls.TabPanel', { - extend: 'Ext.tab.Panel', - alias: 'widget.classtabpanel', - requires: [ - 'Docs.view.cls.Overview' - ], - - plain: true, - - // Remember tab scroll position on Webkit - listeners: { - beforetabchange: function(tabPanel, newCard, oldCard) { - oldCard.prevScroll = oldCard.body.getScroll()['top']; - }, - tabchange: function(tabPanel, newCard, oldCard) { - if (newCard.prevScroll) { - newCard.body.scrollTo('top', newCard.prevScroll); - } - } - } - -});