Accordion: Fixed #3194: Prevent exposure of internal methods.

This commit is contained in:
Scott González 2008-08-16 14:19:52 +00:00
parent cdd179d26d
commit dab4c2b564

View File

@ -13,7 +13,7 @@
(function($) {
$.widget("ui.accordion", {
init: function() {
_init: function() {
var options = this.options;
if ( options.navigation ) {
@ -111,7 +111,7 @@ function completed(cancel) {
overflow: ""
});
}
instance.trigger('change', null, options.data);
instance._trigger('change', null, options.data);
}
function toggle(toShow, toHide, data, clickedActive, down) {