Commit 65ce9b7d authored by Tim Schlechter's avatar Tim Schlechter

Fixed invoking onChange in select/deselect

parent 26e4348e
......@@ -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.
......
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