Commit c7bac6ca authored by David Stutz's avatar David Stutz

Merge pull request #286 from conradfr/Fix-multiple-divider-on-rebuild

Fix multiple divider on rebuild().
parents 84b63dc1 ff8207f4
...@@ -796,6 +796,7 @@ ...@@ -796,6 +796,7 @@
// Remove select all option in select. // Remove select all option in select.
$('option[value="' + this.options.selectAllValue + '"]', this.$select).remove(); $('option[value="' + this.options.selectAllValue + '"]', this.$select).remove();
$('option[data-role="divider"]', this.$select).remove();
// Important to distinguish between radios and checkboxes. // Important to distinguish between radios and checkboxes.
this.options.multiple = this.$select.attr('multiple') === "multiple"; this.options.multiple = this.$select.attr('multiple') === "multiple";
......
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