Commit 332831e9 authored by David Stutz's avatar David Stutz

Merge pull request #495 from ludo6577/master

Set to enabled on rebuild when options is not empty and disableIfEmpty is true.
parents 8b201843 3476d5fe
......@@ -1153,6 +1153,9 @@
if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) {
this.disable();
}
else {
this.enable();
}
if (this.options.dropRight) {
this.$ul.addClass('pull-right');
......
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