Refactoring

This commit is contained in:
Julia Radzhabova 2020-11-19 11:58:45 +03:00
parent 42ab9d6fe2
commit 4dd434ec1d

View file

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