From 20954eedea8eb9a6606c1e9d83dd2d5cddfcc92a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 22 Sep 2020 20:48:06 +0300 Subject: [PATCH] Refactoring --- apps/documenteditor/main/app/view/CrossReferenceDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/view/CrossReferenceDialog.js b/apps/documenteditor/main/app/view/CrossReferenceDialog.js index 406e54544..d0e611e84 100644 --- a/apps/documenteditor/main/app/view/CrossReferenceDialog.js +++ b/apps/documenteditor/main/app/view/CrossReferenceDialog.js @@ -160,7 +160,7 @@ define([ labelText: this.textSeparate }).on('change', _.bind(function(field, newValue, oldValue, eOpts){ var checked = field.getValue() === 'checked'; - this.inputSeparator.setDisabled(checked); + this.inputSeparator.setDisabled(!checked); }, this)); this.inputSeparator = new Common.UI.InputField({