]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Updated to use new trigger() method.
authorScott González <scott.gonzalez@gmail.com>
Mon, 14 Jul 2008 23:41:02 +0000 (23:41 +0000)
committerScott González <scott.gonzalez@gmail.com>
Mon, 14 Jul 2008 23:41:02 +0000 (23:41 +0000)
ui/ui.accordion.js

index 4865c317e0edb1ba75a2409b300663e5fcd25aab..4df9edea952dddadd8dfe2abbbd80f4753a85f2b 100644 (file)
@@ -111,7 +111,7 @@ function completed(cancel) {
                        overflow: ""
                });
        }
-       $(this).triggerHandler("accordionchange", [$.event.fix({type: 'accordionchange', target: instance.element[0]}), options.data], options.change);
+       instance.trigger('change', null, options.data);
 }
 
 function toggle(toShow, toHide, data, clickedActive, down) {