accordion: added missing defaults (fixes #3884)

This commit is contained in:
Paul Bakaus 2009-01-20 14:33:19 +00:00
parent 929e2dadfa
commit b6bf540c0d

View File

@ -372,15 +372,19 @@ $.widget("ui.accordion", {
$.extend($.ui.accordion, { $.extend($.ui.accordion, {
version: "@VERSION", version: "@VERSION",
defaults: { defaults: {
active: false,
autoHeight: true, autoHeight: true,
alwaysOpen: true, alwaysOpen: true,
animated: 'slide', animated: 'slide',
clearStyle: false,
event: "click", event: "click",
fillSpace: false,
header: "a", header: "a",
icons: { icons: {
header: "ui-icon-triangle-1-e", header: "ui-icon-triangle-1-e",
headerSelected: "ui-icon-triangle-1-s" headerSelected: "ui-icon-triangle-1-s"
}, },
navigation: false,
navigationFilter: function() { navigationFilter: function() {
return this.href.toLowerCase() == location.href.toLowerCase(); return this.href.toLowerCase() == location.href.toLowerCase();
}, },