Commit f44ea79b authored by David Stutz's avatar David Stutz

Merge pull request #601 from sander4318/master

selectAll() does not 'select' options with data-role='divider'.
parents edb93954 9c5f0877
......@@ -1143,7 +1143,7 @@
}
if (allCheckboxesCount === visibleCheckboxesCount || justVisible === false) {
$("option:enabled", this.$select).prop('selected', true);
$("option:not([data-role='divider']):enabled", this.$select).prop('selected', true);
}
else {
var values = visibleCheckboxes.map(function() {
......
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