Skip to main content

Bug Tracker

Side navigation

#3460 closed bug (invalid)

Opened October 07, 2008 09:00PM UTC

Closed October 12, 2009 11:16PM UTC

Last modified April 23, 2017 11:32PM UTC

Accordian with options "alwaysOpen: false" breaks when clicking on header that is already selected

Reported by: Myrlyn Owned by: flesler
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: jQuery, UI, Accordion Cc: doug.domeny@ektron.com, ted.henry@ektron.com
Blocked by: Blocking:
Description

While recently working with the accordion for jQuery UI, I found that if I set the accordion to use the "alwaysOpen: false" option, and opened a given section of the accordian, and then click on the header for that open section again while open, the accordion will cease to function properly.

Attachments (0)
Change History (4)

Changed October 07, 2008 10:04PM UTC by flesler comment:1

component: unfilledplugin
resolution: → invalid
status: newclosed

Please repost this to the UI Bug Tracker.

Changed January 12, 2009 03:41PM UTC by barts2108 comment:2

resolution: invalid
status: closedreopened

I think this was meant to be the following description (if not pleas e move to a new ticket)

In the jquery\\demos\\accordion\\fillspace.html chang the script to

	<script type="text/javascript">
	$(function() {
		$("#accordion").accordion({
			header: "h3",
			fillSpace: true,
			alwaysOpen: false
		});
	});
	$(function() {
		$("#accordion").accordion("activate",false);
	});
	</script>

After this open the fillspace.html in a browser (I used FF 3.0.5).

Expected behaviour: All sections closed *with* closed look

Real Behaviour: All sections are closed but section 1 shows the colors and the arrow from being open. Clicking the section 1 bar to open it and again to close it shows the 'all closed' correctly -IMHO also as it should be on load-

Changed October 12, 2009 11:16PM UTC by dmethvin comment:3

resolution: → invalid
status: reopenedclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Changed April 23, 2017 11:32PM UTC by rjollos comment:4

cc: doug.domeny@ektron.com; ted.henry@ektron.comdoug.domeny@ektron.com, ted.henry@ektron.com