Opened 11 years ago

Closed 10 years ago

Last modified 10 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:

Description

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 11 years ago by rdworth

Milestone: TBD1.8
Priority: minormajor

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

Resolution: fixed
Status: newclosed

Fixed in 2bf91e8.

comment:3 Changed 10 years ago by Scott González

Milestone: 1.91.8.3

comment:4 Changed 10 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.