aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-22 09:19:04 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-22 09:19:04 -0500
commit10c873ab6cf2333f7e51784e84c03a0fbb975e1f (patch)
tree35fb38582c111fafccd3b6c9deb8a630e17e89e0 /ui/jquery.ui.accordion.js
parent673c6558e01dd8a5423ec21bf40d6efe443580d2 (diff)
downloadjquery-ui-10c873ab6cf2333f7e51784e84c03a0fbb975e1f.tar.gz
jquery-ui-10c873ab6cf2333f7e51784e84c03a0fbb975e1f.zip
Accordion: Add panel in addition to content for create event. Fixes #8998 - Accordion: Create event uses content instead of panel.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index d8faa0e9f..1afa95cb4 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -65,6 +65,7 @@ $.widget( "ui.accordion", {
_getCreateEventData: function() {
return {
header: this.active,
+ panel: !this.active.length ? $() : this.active.next(),
content: !this.active.length ? $() : this.active.next()
};
},