Commit 885c0ac2 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Use full classnames as tab titles.

Previously it depended on whether you viewed classes by package or
by inheritance.
parent 40c78194
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -174,6 +174,11 @@ Ext.define('Docs.view.Tabs', {
     * @param {Boolean} opts.activate True to activate the tab
     */
    addTab: function(tab, opts) {
        // For API tabs always use the full class name as title.
        if (/#!?\/api\//.test(tab.href)) {
            tab.text = tab.href.replace(/^.*#!?\/api\//, "");
        }

        this.tabCache[tab.href] = tab;

        if (!this.hasTab(tab.href)) {