aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-05-30 21:05:48 +0200
committerFelix Nagel <info@felixnagel.com>2013-05-30 21:05:48 +0200
commitdfbd712d99ac41f775e14bc4e7586c3e20bdb5f0 (patch)
tree590f61f990065e491c8ade1261f69f2d903e9398
parenta572f72ddeaf64219676c57af5ad8b2aa80cbe48 (diff)
downloadjquery-ui-dfbd712d99ac41f775e14bc4e7586c3e20bdb5f0.tar.gz
jquery-ui-dfbd712d99ac41f775e14bc4e7586c3e20bdb5f0.zip
Selectmenu: fire focus event when menu is opened
-rw-r--r--ui/jquery.ui.selectmenu.js2
1 files changed, 1 insertions, 1 deletions
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 );