Results 1 to 2 of 2

Thread: [FIXED][3.0] Item.js setText

    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,408
    Vote Rating
    9
      0  

    Default [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
    18,608
    Vote Rating
    874
      0  

    Default

    Fixed.
    Evan Trimboli
    Twitter - @evantrimboli

Posting Permissions

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