Selectmenu: fixed disabled.html demo

This commit is contained in:
Felix Nagel 2011-10-09 02:00:52 +02:00
parent ba748232c1
commit f70a24790c

View File

@ -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");
}); });
}); });