Results 1 to 2 of 2

Thread: [FNR] AccordionLayout does not remove Listeners, when Components are removed

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Germany, Kaiserslautern
    Vote Rating

    Default [FNR] AccordionLayout does not remove Listeners, when Components are removed


    In AccordionLayout the method onRemove() contains the following lines:

    component.addListener(Events.BeforeExpand, listener);
    component.addListener(Events.Expand, listener);

    these lines should be:

    component.removeListener(Events.BeforeExpand, listener);
    component.removeListener(Events.Expand, listener);

    See the attached test case ( It creates a western and an eastern panel. Pressing the button in the middle, "panel two" should be removed from the western panel and be added to the eastern panel. If I now expand "panel two", "panel one" is collapsed although it is in a different Accordion. After applying the above mentioned fix, this doesn't happen.

    Attached Files Attached Files

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Vote Rating


    Fixed in SVN as of revision 2179

Similar Threads

  1. ContainerClear. Plugin to cause Container.remove to remove removed Components
    By Animal in forum Ext 3.x: User Extensions and Plugins
    Replies: 5
    Last Post: 13 Dec 2010, 5:23 AM
  2. Replies: 3
    Last Post: 11 Jun 2010, 6:32 AM
  3. Replies: 1
    Last Post: 8 Apr 2010, 3:54 AM
  4. [FNR] Tree not visible in AccordionLayout
    By Frank.iia in forum Ext GWT: Bugs (2.x)
    Replies: 9
    Last Post: 12 Mar 2010, 8:06 AM
  5. Replies: 3
    Last Post: 17 Jul 2008, 11:32 PM

Posting Permissions

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