static/ext/src/tab/Bar.js
function(e) {
        var me = this,
            overTab = me._overTab,
            tabInfo, tab;

        if (e.getTarget('.' + Ext.baseCSSPrefix + 'box-scroller')) {
            return;
        }

        tabInfo = me.getTabInfoFromPoint(e.getXY());
        tab = tabInfo.tab;

        if (tab !== overTab) {
            if (overTab && overTab.rendered) {
                overTab.onMouseLeave(e);
                me._overTab = null;
            }
            if (tab) {
                tab.onMouseEnter(e);
                me._overTab = tab;
                if (!tab.disabled) {
                    me.el.setStyle('cursor', 'pointer');
                }
            } else {
                me.el.setStyle('cursor', 'default');
            }
        }
    }
function(e) {
        var me = this,
            overTab = me._overTab,
            tabInfo, tab;

        if (e.getTarget('.' + Ext.baseCSSPrefix + 'box-scroller')) {
            return;
        }

        tabInfo = me.getTabInfoFromPoint(e.getXY());
        tab = tabInfo.tab;

        if (tab !== overTab) {
            if (overTab && overTab.rendered) {
                overTab.onMouseLeave(e);
                me._overTab = null;
            }
            if (tab) {
                tab.onMouseEnter(e);
                me._overTab = tab;
                if (!tab.disabled) {
                    me.el.setStyle('cursor', 'pointer');
                }
            } else {
                me.el.setStyle('cursor', 'default');
            }
        }
    }
function ( e ) { var me = this , overTab = me . _overTab , tabInfo , tab ; if ( e . getTarget ( '.' + Ext . baseCSSPrefix + 'box-scroller' ) ) { return ; } tabInfo = me . getTabInfoFromPoint ( e . getXY ( ) ) ; tab = tabInfo . tab ; if ( tab !== overTab ) { if ( overTab && overTab . rendered ) { overTab . onMouseLeave ( e ) ; me . _overTab = null ; } if ( tab ) { tab . onMouseEnter ( e ) ; me . _overTab = tab ; if ( ! tab . disabled ) { me . el . setStyle ( 'cursor' , 'pointer' ) ; } } else { me . el . setStyle ( 'cursor' , 'default' ) ; } } }
private
private