Opened 11 years ago

Closed 11 years ago

#4048 closed bug (worksforme)

a links fail to work

Reported by: brucealdridge Owned by:
Priority: major Milestone: 1.7
Component: ui.accordion Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

Having any a link inside an accordion fails.

any links inside of the accordion seem to be associated to that accordion, and will close that pane.

http://jsbin.com/uxoga (see pane #2)

Change History (2)

comment:1 Changed 11 years ago by brucealdridge

this is a dup of #2158

But..... seems counter-intuitive to have to set the header option just to have links in the accordion. in the jqueryui docs http://docs.jquery.com/UI/Accordion/accordion#options it says ..

Default: '> li > :first-child,> :not(li):even'

but in ui.accordion.js

$.extend($.ui.accordion, {
	version: "1.6rc6",
	defaults: {
...
		header: "a",
...
	},

i spose its hard as you don't want to break old installs,

the "default" (according to the docs) doesn't work on mine

<li>
 <a href="#">Link</a>
 <div>
   content
 </div>
</li>

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

Milestone: TBD1.6
Resolution: worksforme
Status: newclosed

The default was changed to '> li > :first-child,> :not(li):even' after the 1.6rc6 release.

Note: See TracTickets for help on using tickets.