Fix closing editors

This commit is contained in:
Julia Radzhabova 2021-03-29 16:41:49 +03:00
parent 84d357560e
commit 22fc77c0a4
3 changed files with 3 additions and 0 deletions

View file

@ -720,6 +720,7 @@ define([
callback: function(btn) {
if (btn == 'ok') {
me.api.asc_undoAllChanges();
me.api.asc_continueSaving();
Common.Gateway.requestClose();
// Common.Controllers.Desktop.requestClose();
} else

View file

@ -499,6 +499,7 @@ define([
callback: function(btn) {
if (btn == 'ok') {
me.api.asc_undoAllChanges();
me.api.asc_continueSaving();
Common.Gateway.requestClose();
// Common.Controllers.Desktop.requestClose();
} else

View file

@ -562,6 +562,7 @@ define([
callback: function(btn) {
if (btn == 'ok') {
me.api.asc_undoAllChanges();
me.api.asc_continueSaving();
Common.Gateway.requestClose();
// Common.Controllers.Desktop.requestClose();
} else