Ticket #4889 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

Navigation parameter can open multiple sections

Reported by: mnoland Owned by:
Priority: major Milestone: 1.8.3
Component: ui.accordion Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:


If the navigation parameter is used for the Accordian widget, and more than one section contains a match, multiple sections display as open when the Accordian renders.

To fix, modify line 31 of the 1.7.2 code to include an ".eq(0)" at the end so that only the first instance of a match is returned.

var current = this.element.find("a").filter(o.navigationFilter).eq(0);

Change History

comment:1 Changed 6 years ago by rdworth

  • Priority changed from minor to major
  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in  2bf91e8.

comment:3 Changed 5 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

comment:4 Changed 5 years ago by Scott González

Accordion: Prevent the navigation filter from finding multiple elements. Fixes #4889 - Navigation parameter can open multiple sections.

Changeset: 2bf91e8e28e3936ed56def5648dda479aefa9ad2

Note: See TracTickets for help on using tickets.