diff --git a/tests/unit/menu/menu_defaults.js b/tests/unit/menu/menu_defaults.js index bf41fb999..018ac8ccf 100644 --- a/tests/unit/menu/menu_defaults.js +++ b/tests/unit/menu/menu_defaults.js @@ -8,6 +8,9 @@ commonWidgetTests( "menu", { }, // callbacks - create: null + blur: null, + create: null, + focus: null, + select: null } }); diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 42829c2a1..05ecd3feb 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -24,7 +24,12 @@ $.widget( "ui.menu", { position: { my: "left top", at: "right top" - } + }, + + // callbacks + blur: null, + focus: null, + select: null }, _create: function() { this.activeMenu = this.element;