Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member stever's Avatar
    Join Date
    Mar 2007
    Posts
    1,407
    Vote Rating
    6
    stever will become famous soon enough stever will become famous soon enough

      0  

    Default [FIXED][3.0] Item.js setText

    [FIXED][3.0] Item.js setText


    A menu does not have any method called doAutoSize. It's layout does. Any call to setText will fail. I guess no one calls it!

    Original:
    PHP Code:
        setText : function(text){
            
    this.text text||' ';
            if(
    this.rendered){
                
    this.textEl.update(this.text);
                
    this.parentMenu.doAutoSize();
            }
        } 
    Proposed:
    PHP Code:
        setText : function(text){
            
    this.text text||' ';
            if(
    this.rendered){
                
    this.textEl.update(this.text);
                
    this.parentMenu.layout.doAutoSize();
            }
        } 

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,921
    Vote Rating
    632
    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.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1