mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: make sure menu is refreshed at least once before opening
This commit is contained in:
3
ui/jquery.ui.selectmenu.js
vendored
3
ui/jquery.ui.selectmenu.js
vendored
@@ -187,6 +187,9 @@ $.widget( "ui.selectmenu", {
|
||||
if ( this.options.disabled ) {
|
||||
return;
|
||||
}
|
||||
if ( !this.menuItems ) {
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
this.isOpen = true;
|
||||
this._toggleAttr();
|
||||
|
||||
Reference in New Issue
Block a user