From 527125c0c8cd64b0196db1c8c8ac9ea45ec46ecb Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Sat, 26 Dec 2020 11:56:01 +0300 Subject: [PATCH] [SSE] Fix Bug 48141 --- apps/spreadsheeteditor/main/app/view/DataValidationDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js index 150b4498b..0ddaa64ca 100644 --- a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js +++ b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js @@ -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); 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; else if (data==Asc.EDataValidationOperator.Equal || data==Asc.EDataValidationOperator.NotEqual) { // equals, not equals if (allow==Asc.c_oAscEDataValidationType.Date)