From 4821cab7eecff48b1a6ed1f35c61f439c13901cd Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Sun, 7 Aug 2022 23:38:31 +0300 Subject: [PATCH] Fix Bug 57987 --- apps/documenteditor/main/app/controller/DocumentHolder.js | 1 + apps/presentationeditor/main/app/controller/DocumentHolder.js | 1 + apps/spreadsheeteditor/main/app/controller/DocumentHolder.js | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/documenteditor/main/app/controller/DocumentHolder.js b/apps/documenteditor/main/app/controller/DocumentHolder.js index edd05a06c..b1905358d 100644 --- a/apps/documenteditor/main/app/controller/DocumentHolder.js +++ b/apps/documenteditor/main/app/controller/DocumentHolder.js @@ -320,6 +320,7 @@ define([ oleEditor.on('hide', _.bind(function(cmp, message) { if (this.api) { this.api.asc_enableKeyEvents(true); + this.api.asc_onCloseChartFrame(); } setTimeout(function(){ me.editComplete(); diff --git a/apps/presentationeditor/main/app/controller/DocumentHolder.js b/apps/presentationeditor/main/app/controller/DocumentHolder.js index ef0d520ab..6d81c8ae7 100644 --- a/apps/presentationeditor/main/app/controller/DocumentHolder.js +++ b/apps/presentationeditor/main/app/controller/DocumentHolder.js @@ -342,6 +342,7 @@ define([ oleEditor.on('hide', _.bind(function(cmp, message) { if (this.api) { this.api.asc_enableKeyEvents(true); + this.api.asc_onCloseChartFrame(); } var me = this; setTimeout(function(){ diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index 094a0ed94..8b7a931d7 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -277,6 +277,7 @@ define([ oleEditor.on('hide', _.bind(function(cmp, message) { if (me.api) { me.api.asc_enableKeyEvents(true); + me.api.asc_onCloseChartFrame(); } setTimeout(function(){ view.fireEvent('editcomplete', view);