diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:26:44 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:26:44 +0100 |
commit | 3a0b8b84335f5d576cfb6d0a01301086a091fa39 (patch) | |
tree | cb3163aaccb9b8f1d9a6390a9af3209927a40944 /ui | |
parent | 811b377aad83f97a817542bd9d9eda957beab99d (diff) | |
download | jquery-ui-3a0b8b84335f5d576cfb6d0a01301086a091fa39.tar.gz jquery-ui-3a0b8b84335f5d576cfb6d0a01301086a091fa39.zip |
Update data naming for Accordion. Partial fix for #7810
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.accordion.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 48e964a94..6c4432828 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -405,7 +405,7 @@ $.widget( "ui.accordion", { animate = this.options.animate || {}, options = down && animate.down || animate, complete = function() { - toShow.removeData( "accordionHeight" ); + toShow.removeData( "ui-accordion-height" ); that._completed( data ); }; @@ -430,7 +430,7 @@ $.widget( "ui.accordion", { toHide.animate( hideProps, duration, easing ); toShow .hide() - .data( "accordionHeight", { + .data( "ui-accordion-height", { total: total, toHide: toHide }) @@ -455,7 +455,7 @@ $.widget( "ui.accordion", { $.fx.step.accordionHeight = function( fx ) { var elem = $( fx.elem ), - data = elem.data( "accordionHeight" ); + data = elem.data( "ui-accordion-height" ); elem.height( data.total - elem.outerHeight() - data.toHide.outerHeight() + elem.height() ); }; var hideProps = {}, |