check button state before disable

This commit is contained in:
Maxim Kadushkin 2016-08-04 18:34:38 +03:00
parent 72f281abde
commit b4cc1401fc

View file

@ -414,7 +414,8 @@ define([
},
setDisabled: function(disabled) {
if (this.rendered) {
if (this.rendered &&
this.disabled != disabled) {
var el = this.cmpEl,
isGroup = el.hasClass('btn-group');