[SSE] Function wizard: send function name

This commit is contained in:
Julia Radzhabova 2020-05-25 18:50:25 +03:00
parent a91f56adde
commit 8455e7a992

View file

@ -287,7 +287,7 @@ define([
var me = this, var me = this,
index = input.options.index, index = input.options.index,
arg = me.args[index]; arg = me.args[index];
var res = me.api.asc_insertArgumentsInFormula(me.getArgumentsValue(), index, arg.argType), var res = me.api.asc_insertArgumentsInFormula(me.getArgumentsValue(), index, arg.argType, this.funcprops ? this.funcprops.origin : undefined),
argres = res ? res.asc_getArgumentsResult() : undefined; argres = res ? res.asc_getArgumentsResult() : undefined;
argres = argres ? argres[index] : undefined; argres = argres ? argres[index] : undefined;
arg.lblValue.html('= '+ (argres!==null && argres !==undefined ? argres : '<span style="opacity: 0.5; font-weight: bold;">' + arg.argTypeName + '</span>' )); arg.lblValue.html('= '+ (argres!==null && argres !==undefined ? argres : '<span style="opacity: 0.5; font-weight: bold;">' + arg.argTypeName + '</span>' ));