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