]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Fix visual test to use select event (was selected)
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 21 Feb 2011 09:38:30 +0000 (10:38 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Mon, 21 Feb 2011 09:38:30 +0000 (10:38 +0100)
tests/visual/menu/contextmenu.html

index d3fdc4e7c2958375b4213f54cf4c579625f8e1a5..513deb2f781fff23f3a683544157a436d84264d8 100644 (file)
@@ -20,7 +20,7 @@
                
                $("button").each(function() {
                        $(this).next().menu({
-                               selected: function(event, ui) {
+                               select: function(event, ui) {
                                        $(this).hide();
                                        $("#log").append("<div>Selected " + ui.item.text() + "</div>");
                                },