Popup: Also expose open method

This commit is contained in:
Jörn Zaefferer
2011-05-04 11:21:30 +02:00
parent 018590064f
commit c7459df062

View File

@@ -51,7 +51,7 @@ $.widget( "ui.popup", {
}
var that = this;
setTimeout(function() {
that._open( event );
that.open( event );
}, 1);
}
});
@@ -101,7 +101,7 @@ $.widget( "ui.popup", {
}
},
_open: function( event ) {
open: function( event ) {
var position = $.extend( {}, {
of: this.options.trigger
}, this.options.position );