check button state before disable
This commit is contained in:
parent
72f281abde
commit
b4cc1401fc
|
@ -414,7 +414,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
setDisabled: function(disabled) {
|
setDisabled: function(disabled) {
|
||||||
if (this.rendered) {
|
if (this.rendered &&
|
||||||
|
this.disabled != disabled) {
|
||||||
var el = this.cmpEl,
|
var el = this.cmpEl,
|
||||||
isGroup = el.hasClass('btn-group');
|
isGroup = el.hasClass('btn-group');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue