From 8b7703bf023b90e79623d11d046bd4d3693ae904 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 15 Dec 2020 12:52:51 +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 bbda544e7..c11fb1599 100644 --- a/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js +++ b/apps/spreadsheeteditor/main/app/view/DataValidationDialog.js @@ -332,11 +332,11 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ if (!this._noApply) { if (type==1 || type==3) { if (!this.props.asc_getFormula1()) - this.props.asc_setFormula1(new AscCommonExcel.CDataFormula()); + this.props.asc_setFormula1(new Asc.CDataFormula()); this.props.asc_getFormula1().asc_setValue(newValue); } else if (type==2) { if (!this.props.asc_getFormula2()) - this.props.asc_setFormula2(new AscCommonExcel.CDataFormula()); + this.props.asc_setFormula2(new Asc.CDataFormula()); this.props.asc_getFormula2().asc_setValue(newValue); } }