From b4cc1401fce299e5a380d8730c810748bff62c20 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 4 Aug 2016 18:34:38 +0300 Subject: [PATCH] check button state before disable --- apps/common/main/lib/component/Button.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js index 0d11e6c0d..fe696a818 100644 --- a/apps/common/main/lib/component/Button.js +++ b/apps/common/main/lib/component/Button.js @@ -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');