Results 1 to 2 of 2

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

  1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    33
    Vote Rating
    0
      0  

    Default [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 Premium Member tjstuart's Avatar
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    374
    Vote Rating
    14
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •