Commit cf1935f2 authored by David Stutz's avatar David Stutz

Merge pull request #207 from vivianspencer/master

Add disabled class to group list item if optgroup disabled
parents c4a53503 443832ac
......@@ -517,6 +517,10 @@
this.$ul.append($li);
if ($(group).is(':disabled')) {
$li.addClass('disabled');
}
// Add the options of the group.
$('option', group).each($.proxy(function(index, element) {
this.createOptionValue(element);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment