Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#4889 closed bug (fixed)

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:
Blocked by: Blocking:


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 (4)

comment:1 Changed 6 years ago by rdworth

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

comment:2 Changed 5 years ago by scott.gonzalez

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

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.