Commit fc239e14 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove the main tab panel.

At least for now while we only have one tab - which is silly.
parent fe1aa7da
Loading
Loading
Loading
Loading

template/app/view/cls/TabPanel.js

deleted100644 → 0
+0 −26
Original line number Diff line number Diff line
/**
 * 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);
            }
        }
    }

});
+0 −4
Original line number Diff line number Diff line
@@ -700,10 +700,6 @@ a {
  background: url(../images/expandcollapse.png) no-repeat 2px 2px !important; }

.member-links {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: $docs-border-color;
  // @include vertical-gradient(#e8e8e8, #eaeaea)
  .expandAllMembers {
    background: url(../images/expandcollapse.png) no-repeat -14px 2px; }
  .collapseAllMembers {