r1794 - trunk/ui
r1794 - trunk/ui
Author: paul.bakaus
Date: Sun Jan 25 13:20:15 2009
New Revision: 1794
Modified:
trunk/ui/ui.accordion.js
Log:
accordion: fix for newContent/oldContent in the UI object that was pointing
to the workaround wrapper (temporary, until we remove the wrapper
completely)
Modified: trunk/ui/ui.accordion.js
==============================================================================
--- trunk/ui/ui.accordion.js (original)
+++ trunk/ui/ui.accordion.js Sun Jan 25 13:20:15 2009
@@ -251,8 +251,8 @@
options: o,
newHeader: clickedIsActive && !o.alwaysOpen ? $([]) : clicked,
oldHeader: this.active,
- newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow,
- oldContent: toHide
+ newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow.find('>
*'),
+ oldContent: toHide.find('> *')
},
down = this.headers.index( this.active[0] ) > this.headers.index(
clicked[0] );