From 123a99726d52b773a0e0dbed870bb9e19c7e586e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 17 Mar 2016 16:26:58 +0300 Subject: [PATCH] =?UTF-8?q?[Common]=20=D0=9E=D1=82=D0=BB=D0=B0=D0=B4=D0=BA?= =?UTF-8?q?=D0=B0=20CheckBox.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/main/lib/component/CheckBox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/main/lib/component/CheckBox.js b/apps/common/main/lib/component/CheckBox.js index 2585f2093..cdc69d8b2 100644 --- a/apps/common/main/lib/component/CheckBox.js +++ b/apps/common/main/lib/component/CheckBox.js @@ -97,6 +97,7 @@ define([ }, setDisabled: function(disabled) { + disabled = (disabled===true); if (disabled !== this.disabled) { this.$label.toggleClass('disabled', disabled); (disabled) ? this.$chk.attr({disabled: disabled}) : this.$chk.removeAttr('disabled');