From 4dd434ec1de200206cee616ded1c99fedbb60827 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 19 Nov 2020 11:58:45 +0300 Subject: [PATCH] Refactoring --- apps/spreadsheeteditor/main/app/view/DataValidationDialog.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js index f3ac76208..4f89aae63 100644 --- a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js +++ b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js @@ -534,10 +534,6 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ } if (isvalid === Asc.c_oAscError.ID.No) { isvalid = this.props.asc_checkValid(); - if (isvalid===null) - isvalid = Asc.c_oAscError.ID.DataValidateMustEnterValue; - else - isvalid = isvalid ? Asc.c_oAscError.ID.No : Asc.c_oAscError.ID.DataValidateMinGreaterMax; (isvalid !== Asc.c_oAscError.ID.No) && (focusedInput = minVisible ? this.inputRangeMin : this.inputRangeSource); }