From 06c8df4bc4bc60a2bf9561cb9f7612635b9393a4 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 18 Jan 2021 12:25:31 +0300 Subject: [PATCH] [SSE] Fix data validation --- apps/spreadsheeteditor/main/app/view/DataValidationDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js index 0ddaa64ca2..fa068fc843 100644 --- a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js +++ b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js @@ -370,7 +370,7 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ onIgnoreChange: function(field, newValue, oldValue, eOpts) { if (!this._noApply) { - this.props.asc_setAllowBlank(field.getValue()!=='checked'); + this.props.asc_setAllowBlank(field.getValue()=='checked'); } }, @@ -411,7 +411,7 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ this._noApply = true; if (props) { var value = props.asc_getAllowBlank(); - this.chIgnore.setValue(!value, true); + this.chIgnore.setValue(value, true); value = props.asc_getShowDropDown(); this.chShowDropDown.setValue(!value, true); value = props.asc_getType();