aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-07-12 17:23:33 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-07-12 17:50:34 +0200
commit7759fb4dba5d4135297994a8292dad093d704e19 (patch)
tree44c6f718c1e2b6a5650d73449d58148a6e9be42a /ui
parent1510f7e28a7cdb259409faa4b94ba2c1a52467ce (diff)
downloadjquery-ui-7759fb4dba5d4135297994a8292dad093d704e19.tar.gz
jquery-ui-7759fb4dba5d4135297994a8292dad093d704e19.zip
Menu: Rename icon option to icons.submenu
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.menu.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index e57d1985a..81fef2e7c 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -22,7 +22,9 @@ $.widget( "ui.menu", {
defaultElement: "<ul>",
delay: 300,
options: {
- icon: "ui-icon-carat-1-e",
+ icons: {
+ submenu: "ui-icon-carat-1-e"
+ },
menus: "ul",
position: {
my: "left top",
@@ -276,7 +278,7 @@ $.widget( "ui.menu", {
refresh: function() {
// Initialize nested menus
var menus,
- icon = this.options.icon,
+ icon = this.options.icons.submenu,
submenus = this.element.find( this.options.menus + ":not(.ui-menu)" )
.addClass( "ui-menu ui-widget ui-widget-content ui-corner-all" )
.hide()