Commit 4238b290 authored by conradfr's avatar conradfr

Moving down the onChange callback

Moving down the onChange callback after this.updateSelectAll() allows to access the correct selected values during the callback.
parent 84b63dc1
......@@ -391,10 +391,11 @@
}
this.$select.change();
this.options.onChange($option, checked);
this.updateButtonText();
this.updateSelectAll();
this.options.onChange($option, checked);
if(this.options.preventInputChangeEvent) {
return false;
......
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