Results 1 to 3 of 3

Thread: Bug in Ext 4.1.3 exception inHeader.afterLayout

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    12
    Vote Rating
    0
      0  

    Default Bug in Ext 4.1.3 exception inHeader.afterLayout

    ExtJS 4.1.3
    Chrome Macintosh

    On line 185 of src/panel/Header.js in afterLayout

    titleEl = me.titleCmp.el;

    I occasionally get an exception where titleCmp is undefined. This happens when me is a Bar (src/tab/Bar.js). Bar is a subclass of Header. You'll notice in Bar's initComponent it deletes titleCmp:

    delete me.titleCmp;

    So it will fail for Bar when it calls the parent's afterLayout. I suspect you should check for titleCmp in Header's afterLayout to fix the bug

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,387
    Vote Rating
    858
      0  

    Default

    That should only occur if the tabbar is vertical. In which case are you using a vertical tab bar?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Yes we are using vertical tab bars

Tags for this Thread

Posting Permissions

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