Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default [FIXED][3.x] mousewheel on TabPanel strip brings up TabPanel context menu

    [FIXED][3.x] mousewheel on TabPanel strip brings up TabPanel context menu


    i suspect this is a copy-paste error in TabPanel.js:
    Code:
        initEvents : function(){
            Ext.TabPanel.superclass.initEvents.call(this);
            this.on('add', this.onAdd, this, {target: this});
            this.on('remove', this.onRemove, this, {target: this});
    
            this.mon(this.strip, 'mousedown', this.onStripMouseDown, this);
            this.mon(this.strip, 'contextmenu', this.onStripContextMenu, this);
            if(this.enableTabScroll){
                this.mon(this.strip, 'mousewheel', this.onStripContextMenu, this);
            }
        },
    it should be
    Code:
        initEvents : function(){
            Ext.TabPanel.superclass.initEvents.call(this);
            this.on('add', this.onAdd, this, {target: this});
            this.on('remove', this.onRemove, this, {target: this});
    
            this.mon(this.strip, 'mousedown', this.onStripMouseDown, this);
            this.mon(this.strip, 'contextmenu', this.onStripContextMenu, this);
            if(this.enableTabScroll){
                this.mon(this.strip, 'mousewheel', this.onWheel, this);
            }
        },

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,642
    Vote Rating
    582
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Fixed in SVN, thanks.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1