Accordion: Updated to use new trigger() method.

This commit is contained in:
Scott González
2008-07-14 23:41:02 +00:00
parent e16cb37f2e
commit 86f15f876f

View 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) {