Commit 33724e1a authored by Chris Hynes's avatar Chris Hynes

Fire select change event

parent c77d7ee2
......@@ -203,7 +203,7 @@
var $optionsNotThis = this.$container.find("input").not($(event.target));
if (!this.options.multiple) {
$optionsNotThis.prop("checked", false).change();
$optionsNotThis.prop("checked", false);
// It's a single selection, so close.
$(this.$container).find(".multiselect.dropdown-toggle").click();
......@@ -222,6 +222,8 @@
$('button', this.$container).html(this.options.buttonText(options, this.$select));
this.options.onChange(option, checked);
this.$select.change();
}, this));
$('ul li a', this.$container).on('click', function(event) {
......
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