Commit 0139b3ee authored by David Stutz's avatar David Stutz

Merge pull request #570 from knobli/patch-1

Fix selectAll/deselectAll for non-visible checkboxes.
parents ff0f4598 462fbf0a
......@@ -353,6 +353,7 @@
numberDisplayed: 3,
disableIfEmpty: false,
delimiterText: ', ',
justVisible: true,
templates: {
button: '<button type="button" class="multiselect dropdown-toggle" data-toggle="dropdown"><span class="multiselect-selected-text"></span> <b class="caret"></b></button>',
ul: '<ul class="multiselect-container dropdown-menu"></ul>',
......@@ -502,10 +503,10 @@
if (isSelectAllOption) {
if (checked) {
this.selectAll();
this.selectAll(this.options.justVisible);
}
else {
this.deselectAll();
this.deselectAll(this.options.justVisible);
}
}
......
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