Commit 1295ab3e authored by David Stutz's avatar David Stutz

Merge pull request #111 from ZuBB/patch-3

'onChange' event handler is not invoked when 'select' API is used.
parents f040b312 12820f9a
...@@ -420,6 +420,7 @@ ...@@ -420,6 +420,7 @@
$option.attr('selected', 'selected').prop('selected', true); $option.attr('selected', 'selected').prop('selected', true);
this.updateButtonText(); this.updateButtonText();
this.options.onChange($option, checked);
}, },
// Deselect an option by its value. // Deselect an option by its value.
......
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