From: Scott González Date: Fri, 27 Jun 2008 13:12:03 +0000 (+0000) Subject: Accordion: Fixed parameters in dispatched events. X-Git-Tag: 1.5.2~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4178f63fc36ecaf2a62c55df50f51135b622306;p=jquery-ui.git Accordion: Fixed parameters in dispatched events. --- diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 208bc313d..2cf014b8e 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -111,7 +111,7 @@ function completed(cancel) { overflow: "" }); } - $(this).triggerHandler("accordionchange", [null, options.data], options.change); + $(this).triggerHandler("accordionchange", [$.event.fix({type: 'accordionchange', target: instance.element[0]}), options.data], options.change); } function toggle(toShow, toHide, data, clickedActive, down) {