Commit 8ebd318a authored by David Stutz's avatar David Stutz
parents 2b9a5fdb 31e1ea69
......@@ -235,8 +235,7 @@
*/
buttonText: function(options, select) {
if (this.disabledText.length > 0
&& (this.disableIfEmpty || select.prop('disabled'))
&& options.length == 0) {
&& (select.prop('disabled') || (options.length == 0 && this.disableIfEmpty)) {
return this.disabledText;
}
......
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