Opened 8 years ago

Closed 8 years ago

#7409 closed bug (notabug)

Creating inner-accordions into an empty accordion

Reported by: TheDoci Owned by: TheDoci
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.13
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Scott González)

When we have inner-accordions, the destroy-recreate method to refresh an accordion after adding some panels doesn't work correctly.

When you click on the button in the second accordion it adds a section into it. But the sub-accordion doesn't work (in spite of the desctruction-recreation of the accordion). Test it : http://jsfiddle.net/YL99D/

BUT if you modify the HTML code this way (add a first section in the #sections div), it works perfectly when we click the button : http://jsfiddle.net/YL99D/1/

Additionnal information :

  • version of JQuery : 1.5.1
  • browser : Firefox 4.0.1
  • operating system : Windows 7 64 bits Family Edition

Change History (3)

comment:1 Changed 8 years ago by Scott González

Description: modified (diff)

In the future, please do not dump tons of code into the ticket.

comment:2 Changed 8 years ago by Scott González

Owner: set to TheDoci
Status: newpending

This test doesn't look correct at all. You're destroying widgets that never exist and reading data off widgets that don't have any data. Please provide an even more reduced test case showing the problem or use the forums for help.

comment:3 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.