Merge pull request #435 from ONLYOFFICE/fix/bug-45965

Fix Bug 45965
This commit is contained in:
Julia Radzhabova 2020-07-28 12:47:56 +03:00 committed by GitHub
commit ff6cf4acff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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({