From becb24995974a300a53325f2965357023ec2f497 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 28 Jul 2020 12:42:59 +0300 Subject: [PATCH] Fix Bug 45965 --- .../main/app/controller/FormulaDialog.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js b/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js index d1e0cc5f8..49115ccc7 100644 --- a/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js +++ b/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js @@ -233,12 +233,13 @@ define([ // show formula settings var me = this; var name = props.asc_getName(), + origin = this.api.asc_getFormulaNameByLocale(name), descrarr = this.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale")), funcprops = { - name: this.api.asc_getFormulaLocaleName(name), - origin: name, - args: ((descrarr && descrarr[name]) ? descrarr[name].a : '').replace(/[,;]/g, this.api.asc_getFunctionArgumentSeparator()), - desc: (descrarr && descrarr[name]) ? descrarr[name].d : '' + name: name, + origin: origin, + args: ((descrarr && descrarr[origin]) ? descrarr[origin].a : '').replace(/[,;]/g, this.api.asc_getFunctionArgumentSeparator()), + desc: (descrarr && descrarr[origin]) ? descrarr[origin].d : '' }; (new SSE.Views.FormulaWizard({