mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 21:58:09 +08:00
[DE] Fix called methods names
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user