Fix Bug 45965

This commit is contained in:
Julia Radzhabova 2020-07-28 12:42:59 +03:00
parent 15f86a113a
commit becb249959

View file

@ -233,12 +233,13 @@ define([
// show formula settings // show formula settings
var me = this; var me = this;
var name = props.asc_getName(), var name = props.asc_getName(),
origin = this.api.asc_getFormulaNameByLocale(name),
descrarr = this.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale")), descrarr = this.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale")),
funcprops = { funcprops = {
name: this.api.asc_getFormulaLocaleName(name), name: name,
origin: name, origin: origin,
args: ((descrarr && descrarr[name]) ? descrarr[name].a : '').replace(/[,;]/g, this.api.asc_getFunctionArgumentSeparator()), args: ((descrarr && descrarr[origin]) ? descrarr[origin].a : '').replace(/[,;]/g, this.api.asc_getFunctionArgumentSeparator()),
desc: (descrarr && descrarr[name]) ? descrarr[name].d : '' desc: (descrarr && descrarr[origin]) ? descrarr[origin].d : ''
}; };
(new SSE.Views.FormulaWizard({ (new SSE.Views.FormulaWizard({