Fix closing editors
This commit is contained in:
parent
84d357560e
commit
22fc77c0a4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue