Skip to content
Permalink
Browse files

Selectmenu: backfall for initial refresh when menu is opened

  • Loading branch information...
fnagel committed Feb 24, 2012
1 parent b474a5d commit 058cba236f5f599b349cd51970bbce289f16b549
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/jquery.ui.selectmenu.js
@@ -193,6 +193,11 @@ $.widget( "ui.selectmenu", {

this._toggleButtonStyle();

// make sure menu is refreshed on first init (needed at least for IE9)
if ( this.isOpen === undefined ) {
this.button.trigger( "focus" );
}

this.menuWrap.addClass( 'ui-selectmenu-open' );
this.menu.attr("aria-hidden", false);
this.button.attr("aria-expanded", true);

0 comments on commit 058cba2

Please sign in to comment.
You can’t perform that action at this time.