Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap-multiselect
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap-multiselect
Commits
0139b3ee
Commit
0139b3ee
authored
Oct 14, 2015
by
David Stutz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #570 from knobli/patch-1
Fix selectAll/deselectAll for non-visible checkboxes.
parents
ff0f4598
462fbf0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bootstrap-multiselect.js
dist/js/bootstrap-multiselect.js
+3
-2
No files found.
dist/js/bootstrap-multiselect.js
View file @
0139b3ee
...
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment