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
    Location
    Germany, Kaiserslautern
    Posts
    1
    Vote Rating
    0
    julisys is on a distinguished road

      0  

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

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


    Hello,

    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 (Gxttest.java.txt). 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.

    Regards,
    julisys.
    Attached Files

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    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

Thread Participants: 1