Commit a0d50acb authored by David Stutz's avatar David Stutz

Merge pull request #65 from programcsharp/master

Made refresh() update disabled state.
parents 91dd61fc 739629ed
......@@ -323,6 +323,13 @@
$input.parents('li').removeClass(this.options.selectedClass);
}
}
if ($(element).is(":disabled")) {
input.attr('disabled', 'disabled').prop('disabled', true).parents('li').addClass('disabled');
}
else {
input.removeAttr('disabled').prop('disabled', false).parents('li').removeClass('disabled');
}
}, this));
this.updateButtonText();
......
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