[Common] Отладка CheckBox.

This commit is contained in:
Julia Radzhabova 2016-03-17 16:26:58 +03:00
parent ee3e78fd1f
commit 123a99726d

View file

@ -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');