Commit 246230cd authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove tabOverflowMenu ID.

Replace it with classname.
parent 6dc9d341
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ Ext.define('Docs.controller.Tabs', {
        });

        this.control({
            'container [componentCls=doctabs]': {
            '[componentCls=doctabs]': {
                afterrender: function(cmp) {
                    this.addTabIconListeners(cmp);
                    this.addTabListeners(cmp);
@@ -107,7 +107,7 @@ Ext.define('Docs.controller.Tabs', {
                },
                scope: this
            },
            '#tabOverflowMenu menuitem': {
            '[componentCls=tab-menu] menuitem': {
                click: function(cmp) {
                    Docs.History.push(cmp.href, { navigate: true });
                },
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
Ext.define('Docs.view.TabMenu', {
    extend: 'Ext.menu.Menu',
    plain: true,
    id: 'tabOverflowMenu',
    componentCls: 'tab-menu',

    initComponent: function() {
        this.addEvents(
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@
      background: url(../images/tabs.png) no-repeat -7px -513px;
      border: 0; } } }

#tabOverflowMenu {
.tab-menu {
  .x-menu-item-link {
    padding-top: 5px; }
  .overflow {