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
65ce9b7d
Commit
65ce9b7d
authored
12 years ago
by
Tim Schlechter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invoking onChange in select/deselect
parent
26e4348e
master
gh-pages
v1.0.1-pt-br
v1.0.0-pt-br
v0.9.13
v0.9.12
v0.9.11
v0.9.10
v0.9.9
v0.9.8
v0.9.7
v0.9.6
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bootstrap-multiselect.js
js/bootstrap-multiselect.js
+2
-1
No files found.
js/bootstrap-multiselect.js
View file @
65ce9b7d
...
...
@@ -448,7 +448,7 @@
$option
.
attr
(
'
selected
'
,
'
selected
'
).
prop
(
'
selected
'
,
true
);
this
.
updateButtonText
();
this
.
options
.
onChange
(
$option
,
checked
);
this
.
options
.
onChange
(
$option
,
true
);
},
// Deselect an option by its value.
...
...
@@ -469,6 +469,7 @@
$option
.
removeAttr
(
'
selected
'
).
prop
(
'
selected
'
,
false
);
this
.
updateButtonText
();
this
.
options
.
onChange
(
$option
,
false
);
},
// Rebuild the whole dropdown menu.
...
...
This diff is collapsed.
Click to expand it.
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