aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-09-18 10:39:34 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-09-18 10:39:34 +0000
commit7651fb4158018cac461ce008013f60e7fa0d5e54 (patch)
treec2613525e15cf35b59648a3a9310654e6f4208a3 /ui
parent51e0cdf88db7ea028004110c8ef2e6fe33a2c575 (diff)
downloadjquery-ui-7651fb4158018cac461ce008013f60e7fa0d5e54.tar.gz
jquery-ui-7651fb4158018cac461ce008013f60e7fa0d5e54.zip
accordion: trigger changestart event when the animation starts (implements 2932)
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.accordion.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js
index 0f13a73fa..cb3b39031 100644
--- a/ui/ui.accordion.js
+++ b/ui/ui.accordion.js
@@ -121,6 +121,8 @@ function toggle(toShow, toHide, data, clickedActive, down) {
options.data = data;
var complete = scopeCallback(completed, this);
+ $.data(this, "accordion")._trigger("changestart", null, options.data);
+
// count elements to animate
options.running = toHide.size() === 0 ? toShow.size() : toHide.size();