1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    33
    Vote Rating
    0
    fins is on a distinguished road

      0  

    Default [2.3+] the BUG of TabPanel.render()

    [2.3+] the BUG of TabPanel.render()


    the defaultValue of TabPanel.activeTab is null ,

    but activeTab is Checked with "!== undefined" in render() method :


    if(this.activeTab !== undefined){
    var item = this.activeTab;
    delete this.activeTab;
    this.setActiveTab(item);
    }

    so , this.setActiveTab(null) will be called, then throw Exception.

    i think codes below is better:

    if(this.activeTab || this.activeTab === 0 ){
    var item = this.activeTab;
    delete this.activeTab;
    this.setActiveTab(item);
    }

  2. #2
    Sencha User tjstuart's Avatar
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    310
    Vote Rating
    0
    tjstuart is on a distinguished road

      0  

    Default


    Any status on this? I just grabbed the latest (2.3.0/5511) and bug still there.

Thread Participants: 1