Skip to main content

Search and Top Navigation

#4889 closed bug (fixed)

Opened October 01, 2009 10:49PM UTC

Closed July 13, 2010 12:52PM UTC

Last modified November 19, 2010 06:25PM UTC

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);

Attachments (0)
Change History (4)

Changed November 11, 2009 04:06AM UTC by rdworth comment:1

milestone: TBD1.8
priority: minormajor

Changed July 13, 2010 12:52PM UTC by scottgonzalez comment:2

resolution: → fixed
status: newclosed

Fixed in 2bf91e8.

Changed August 04, 2010 01:21AM UTC by scottgonzalez comment:3

milestone: 1.91.8.3

Changed November 19, 2010 06:25PM UTC by Scott González comment:4

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

Changeset: 2bf91e8e28e3936ed56def5648dda479aefa9ad2