[SSE] use asc_startWizard

This commit is contained in:
Julia Radzhabova 2020-05-21 12:12:32 +03:00
parent 8d55696180
commit f8053e0770

View file

@ -96,7 +96,10 @@ define([
if (func.origin === 'more') { if (func.origin === 'more') {
this.showDialog(group); this.showDialog(group);
} else { } else {
this.api.asc_insertInCell(func.name, autocomplete ? Asc.c_oAscPopUpSelectorType.Func : Asc.c_oAscPopUpSelectorType.FuncWizard, !!autocomplete); if (autocomplete)
this.api.asc_insertInCell(func.name, Asc.c_oAscPopUpSelectorType.Func, !!autocomplete);
else
this.api.asc_startWizard(func.name);
!autocomplete && this.updateLast10Formulas(func.origin); !autocomplete && this.updateLast10Formulas(func.origin);
} }
} }
@ -219,7 +222,7 @@ define([
} }
} }
this._formulagroup = group; this._formulagroup = group;
this.api.asc_preInsertFormula(); this.api.asc_startWizard();
} }
}, },