From ab9aa0112fd09e7270e1daa5780c207c25fc96fc Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 8 Sep 2022 18:23:46 +0300 Subject: [PATCH] Fix external editors --- apps/common/main/lib/controller/ExternalDiagramEditor.js | 2 +- apps/common/main/lib/controller/ExternalMergeEditor.js | 2 +- apps/common/main/lib/controller/ExternalOleEditor.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/common/main/lib/controller/ExternalDiagramEditor.js b/apps/common/main/lib/controller/ExternalDiagramEditor.js index a17384b3c..5d04fa497 100644 --- a/apps/common/main/lib/controller/ExternalDiagramEditor.js +++ b/apps/common/main/lib/controller/ExternalDiagramEditor.js @@ -186,7 +186,7 @@ define([ iconCls: 'warn', buttons: ['ok'], callback: _.bind(function(btn){ - this.setControlsDisabled(false); + this.diagramEditorView.setControlsDisabled(false); this.diagramEditorView.hide(); }, this) }); diff --git a/apps/common/main/lib/controller/ExternalMergeEditor.js b/apps/common/main/lib/controller/ExternalMergeEditor.js index fc4e57c84..a553b1406 100644 --- a/apps/common/main/lib/controller/ExternalMergeEditor.js +++ b/apps/common/main/lib/controller/ExternalMergeEditor.js @@ -171,7 +171,7 @@ define([ iconCls: 'warn', buttons: ['ok'], callback: _.bind(function(btn){ - this.setControlsDisabled(false); + this.mergeEditorView.setControlsDisabled(false); this.mergeEditorView.hide(); }, this) }); diff --git a/apps/common/main/lib/controller/ExternalOleEditor.js b/apps/common/main/lib/controller/ExternalOleEditor.js index 3d60a5e6b..a545c653a 100644 --- a/apps/common/main/lib/controller/ExternalOleEditor.js +++ b/apps/common/main/lib/controller/ExternalOleEditor.js @@ -186,7 +186,7 @@ define([ iconCls: 'warn', buttons: ['ok'], callback: _.bind(function(btn){ - this.setControlsDisabled(false); + this.oleEditorView.setControlsDisabled(false); this.oleEditorView.hide(); }, this) });