From 39853fda45a409e9dc47d7358fbd9b03ad1d33b5 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Mon, 26 Oct 2015 13:13:42 -0400 Subject: Selectmenu: Handle form resets Fixes #12236 Ref gh-1550 --- ui/widgets/selectmenu.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js index a4e757be1..b251f04f1 100644 --- a/ui/widgets/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -24,6 +24,7 @@ "jquery", "./menu", "../escape-selector", + "../form-reset-mixin", "../keycode", "../labels", "../position", @@ -38,7 +39,7 @@ } }( function( $ ) { -return $.widget( "ui.selectmenu", { +return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, { version: "@VERSION", defaultElement: "