aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/menu
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-04 11:21:30 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-04 11:21:30 +0200
commitc7459df0622e8d1a4e5fcb56eac496eae60e5083 (patch)
tree66e541102a859b55325ad8ffa71e882e3ff23ef5 /tests/visual/menu
parent018590064f43c4003fe7be767f5c1d666e38b22a (diff)
downloadjquery-ui-c7459df0622e8d1a4e5fcb56eac496eae60e5083.tar.gz
jquery-ui-c7459df0622e8d1a4e5fcb56eac496eae60e5083.zip
Popup: Also expose open method
Diffstat (limited to 'tests/visual/menu')
-rw-r--r--tests/visual/menu/popup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/visual/menu/popup.js b/tests/visual/menu/popup.js
index a29904877..dc81b694c 100644
--- a/tests/visual/menu/popup.js
+++ b/tests/visual/menu/popup.js
@@ -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 );