diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-18 10:39:34 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-18 10:39:34 +0000 |
commit | 7651fb4158018cac461ce008013f60e7fa0d5e54 (patch) | |
tree | c2613525e15cf35b59648a3a9310654e6f4208a3 /ui | |
parent | 51e0cdf88db7ea028004110c8ef2e6fe33a2c575 (diff) | |
download | jquery-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.js | 2 |
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(); |