From dfbd712d99ac41f775e14bc4e7586c3e20bdb5f0 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 30 May 2013 21:05:48 +0200 Subject: [PATCH] Selectmenu: fire focus event when menu is opened --- ui/jquery.ui.selectmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 8b86b61a4..7cc8b9191 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -133,7 +133,7 @@ $.widget( "ui.selectmenu", { var item = ui.item.data( "ui-selectmenu-item" ); // prevent inital focus from firing and checks if its a newly focused item - if ( !that.isOpen && that.focusIndex !== undefined && item.index !== that.focusIndex ) { + if ( that.focusIndex !== undefined && item.index !== that.focusIndex ) { that._trigger( "focus", event, { item: item } ); if ( !that.isOpen ) { that._select( item, event ); -- 2.39.5