mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: fixed disabled.html demo
This commit is contained in:
parent
ba748232c1
commit
f70a24790c
@ -39,10 +39,10 @@
|
|||||||
});
|
});
|
||||||
$("#disable_optgroup").toggle( function() {
|
$("#disable_optgroup").toggle( function() {
|
||||||
files2.find("optgroup:eq(0)").attr("disabled", "disabled");
|
files2.find("optgroup:eq(0)").attr("disabled", "disabled");
|
||||||
//files2.selectmenu("refresh");
|
files2.selectmenu("refresh");
|
||||||
}, function() {
|
}, function() {
|
||||||
files2.find("option:eq(0)").removeAttr("disabled");
|
files2.find("optgroup:eq(0)").removeAttr("disabled");
|
||||||
//files2.selectmenu("refresh");
|
files2.selectmenu("refresh");
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user