aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-04 11:53:19 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-04 11:53:19 -0400
commit80b6de1b7877f228f7fc5ce1a85766538f4218a1 (patch)
treef77d9bbaedba3bb45188c99c1f899ccf691dc8f1 /ui/jquery.ui.accordion.js
parent01b92ff1a08b8272d8bb2551ca39ea32216d64d2 (diff)
downloadjquery-ui-80b6de1b7877f228f7fc5ce1a85766538f4218a1.tar.gz
jquery-ui-80b6de1b7877f228f7fc5ce1a85766538f4218a1.zip
Accordion: Pass original event in beforeActivate event.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 95fa1d163..c658d4dbb 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -319,7 +319,7 @@ $.widget( "ui.accordion", {
// click on active header, but not collapsible
( clickedIsActive && !options.collapsible ) ||
// allow canceling activation
- ( this._trigger( "beforeActivate", null, eventData ) === false ) ) {
+ ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {
return;
}