Commit be0841ed authored by David Stutz's avatar David Stutz

Merge pull request #425 from tsengkhai/patch-1

Update bootstrap-multiselect.js, To solve the search issue when using optgroup
parents bb539b27 79a3e17d
......@@ -782,7 +782,7 @@
var currentGroup, currentGroupVisible;
$.each($('li', this.$ul), $.proxy(function(index, element) {
var value = $('input', element).val();
var value = $('input', element).length > 0 ? $('input', element).val() : "";
var text = $('label', element).text();
var filterCandidate = '';
......
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