[DE] Fix called methods names

This commit is contained in:
KirillovIlya
2024-08-09 16:03:26 +03:00
parent ab70379ab7
commit 91781df7f8

View File

@ -3788,11 +3788,11 @@ define([
onInsFieldClick: function(type) {
var me = this;
(new DE.Views.FieldDialog({
code: type==='edit' ? me.api.asc_getComplexFieldInstruction() : '',
code: type==='edit' ? me.api.asc_GetComplexFieldInstruction() : '',
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {
type==='edit' ? me.api.asc_EditComplexFieldWithInstruction(value) : me.api.asc_AddComplexFieldWithInstruction(value);
type==='edit' ? me.api.asc_EditComplexFieldInstruction(value) : me.api.asc_AddComplexFieldWithInstruction(value);
}
}
Common.NotificationCenter.trigger('edit:complete', me.toolbar);