From 8f394803f4a1a8555b401681636d1d474f409bad Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 14 Dec 2020 12:25:12 +0300 Subject: [PATCH] [DE] Fix Bug 47973 --- apps/documenteditor/main/app/controller/Toolbar.js | 2 +- apps/documenteditor/main/app/view/DocumentHolder.js | 2 +- apps/documenteditor/main/app/view/FormSettings.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index fa9a5baa5..d5f4d17e2 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -1897,7 +1897,7 @@ define([ })).show(); } else { - this.api.asc_RemoveContentControlWrapper(id); + this.api.asc_RemoveContentControl(id); Common.component.Analytics.trackEvent('ToolBar', 'Remove Content Control'); } } diff --git a/apps/documenteditor/main/app/view/DocumentHolder.js b/apps/documenteditor/main/app/view/DocumentHolder.js index f0ce18a2b..b19a433ae 100644 --- a/apps/documenteditor/main/app/view/DocumentHolder.js +++ b/apps/documenteditor/main/app/view/DocumentHolder.js @@ -1880,7 +1880,7 @@ define([ } })).show(); } else if (item.value == 'remove') { - this.api.asc_RemoveContentControlWrapper(props.get_InternalId()); + this.api.asc_RemoveContentControl(props.get_InternalId()); } } me.fireEvent('editcomplete', me); diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index c46df84f4..e540bda36 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -294,7 +294,7 @@ define([ style : 'text-align: left;' }); this.btnRemForm.on('click', _.bind(function(btn){ - this.api.asc_RemoveContentControlWrapper(this._state.id); + this.api.asc_RemoveContentControl(this._state.id); }, this)); this.lockedControls.push(this.btnRemForm);