Refactoring
This commit is contained in:
parent
f61c7bbbb7
commit
20954eedea
|
@ -160,7 +160,7 @@ define([
|
||||||
labelText: this.textSeparate
|
labelText: this.textSeparate
|
||||||
}).on('change', _.bind(function(field, newValue, oldValue, eOpts){
|
}).on('change', _.bind(function(field, newValue, oldValue, eOpts){
|
||||||
var checked = field.getValue() === 'checked';
|
var checked = field.getValue() === 'checked';
|
||||||
this.inputSeparator.setDisabled(checked);
|
this.inputSeparator.setDisabled(!checked);
|
||||||
}, this));
|
}, this));
|
||||||
|
|
||||||
this.inputSeparator = new Common.UI.InputField({
|
this.inputSeparator = new Common.UI.InputField({
|
||||||
|
|
Loading…
Reference in a new issue