Fix closing editors
This commit is contained in:
parent
84d357560e
commit
22fc77c0a4
|
@ -720,6 +720,7 @@ define([
|
||||||
callback: function(btn) {
|
callback: function(btn) {
|
||||||
if (btn == 'ok') {
|
if (btn == 'ok') {
|
||||||
me.api.asc_undoAllChanges();
|
me.api.asc_undoAllChanges();
|
||||||
|
me.api.asc_continueSaving();
|
||||||
Common.Gateway.requestClose();
|
Common.Gateway.requestClose();
|
||||||
// Common.Controllers.Desktop.requestClose();
|
// Common.Controllers.Desktop.requestClose();
|
||||||
} else
|
} else
|
||||||
|
|
|
@ -499,6 +499,7 @@ define([
|
||||||
callback: function(btn) {
|
callback: function(btn) {
|
||||||
if (btn == 'ok') {
|
if (btn == 'ok') {
|
||||||
me.api.asc_undoAllChanges();
|
me.api.asc_undoAllChanges();
|
||||||
|
me.api.asc_continueSaving();
|
||||||
Common.Gateway.requestClose();
|
Common.Gateway.requestClose();
|
||||||
// Common.Controllers.Desktop.requestClose();
|
// Common.Controllers.Desktop.requestClose();
|
||||||
} else
|
} else
|
||||||
|
|
|
@ -562,6 +562,7 @@ define([
|
||||||
callback: function(btn) {
|
callback: function(btn) {
|
||||||
if (btn == 'ok') {
|
if (btn == 'ok') {
|
||||||
me.api.asc_undoAllChanges();
|
me.api.asc_undoAllChanges();
|
||||||
|
me.api.asc_continueSaving();
|
||||||
Common.Gateway.requestClose();
|
Common.Gateway.requestClose();
|
||||||
// Common.Controllers.Desktop.requestClose();
|
// Common.Controllers.Desktop.requestClose();
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue