From fd7e1e3040ec2c6edb4754135602b5c31678e659 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 21 Apr 2014 10:32:49 -0400 Subject: Selectmenu: Default disabled option to null --- tests/unit/selectmenu/selectmenu_common.js | 4 ++-- ui/selectmenu.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit/selectmenu/selectmenu_common.js b/tests/unit/selectmenu/selectmenu_common.js index 93b526bd8..10073fe97 100644 --- a/tests/unit/selectmenu/selectmenu_common.js +++ b/tests/unit/selectmenu/selectmenu_common.js @@ -1,7 +1,7 @@ TestHelpers.commonWidgetTests( "selectmenu", { defaults: { appendTo: null, - disabled: false, + disabled: null, icons: { button: "ui-icon-triangle-1-s" }, @@ -13,9 +13,9 @@ TestHelpers.commonWidgetTests( "selectmenu", { width: null, // callbacks - create: null, change: null, close: null, + create: null, focus: null, open: null, select: null diff --git a/ui/selectmenu.js b/ui/selectmenu.js index 7fc2119cb..2107285fe 100644 --- a/ui/selectmenu.js +++ b/ui/selectmenu.js @@ -31,6 +31,7 @@ return $.widget( "ui.selectmenu", { defaultElement: "