mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: make sure menu is refreshed at least once before opening
This commit is contained in:
parent
890881d2f8
commit
f08b0af1be
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();
|
||||
|
Loading…
Reference in New Issue
Block a user