From db3fabedb46011224a5a2a1dd300cb954dd61b8d Mon Sep 17 00:00:00 2001 From: kborchers Date: Tue, 10 Jul 2012 00:12:39 -0500 Subject: [PATCH] Menu: Expose the submenu indicator icon as an icon option --- tests/unit/menu/menu_common.js | 1 + tests/visual/menu/menu.html | 5 +++-- ui/jquery.ui.menu.js | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/unit/menu/menu_common.js b/tests/unit/menu/menu_common.js index 07295f1af..02e0befe8 100644 --- a/tests/unit/menu/menu_common.js +++ b/tests/unit/menu/menu_common.js @@ -7,6 +7,7 @@ TestHelpers.commonWidgetTests( "menu", { at: "right top" }, role: "menu", + icon: "ui-icon-carat-1-e", // callbacks blur: null, diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html index 5bda32eae..205cb10c9 100644 --- a/tests/visual/menu/menu.html +++ b/tests/visual/menu/menu.html @@ -26,7 +26,8 @@ $( "#menu6" ).menu({ menus: ".menuElement", - select: logger + select: logger, + icon: "ui-icon-carat-1-s" }); }); @@ -212,7 +213,7 @@ -

Menu with custom markup, multi-line items

+

Menu with custom markup, multi-line items and a custom submenu icon