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