Merge pull request #642 from ONLYOFFICE/fix/bug-48141

[SSE] Fix Bug 48141
This commit is contained in:
Julia Radzhabova 2020-12-26 12:00:17 +03:00 committed by GitHub
commit ffa3157897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -486,7 +486,9 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ
this.cmbData.setDisabled(allow===Asc.c_oAscEDataValidationType.None || allow===Asc.c_oAscEDataValidationType.Custom || allow===Asc.c_oAscEDataValidationType.List); this.cmbData.setDisabled(allow===Asc.c_oAscEDataValidationType.None || allow===Asc.c_oAscEDataValidationType.Custom || allow===Asc.c_oAscEDataValidationType.List);
var str = this.textSource; var str = this.textSource;
if (allow==Asc.c_oAscEDataValidationType.Custom) if (allow==Asc.c_oAscEDataValidationType.List)
str = this.textSource;
else if (allow==Asc.c_oAscEDataValidationType.Custom)
str = this.textFormula; str = this.textFormula;
else if (data==Asc.EDataValidationOperator.Equal || data==Asc.EDataValidationOperator.NotEqual) { // equals, not equals else if (data==Asc.EDataValidationOperator.Equal || data==Asc.EDataValidationOperator.NotEqual) { // equals, not equals
if (allow==Asc.c_oAscEDataValidationType.Date) if (allow==Asc.c_oAscEDataValidationType.Date)