From 63195f269b50104089ed5791bf3fe399311d8986 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 18 Jan 2019 11:04:24 +0300 Subject: [PATCH] Fix Bug 40126 --- apps/spreadsheeteditor/main/app/controller/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 11ba9da71..5df0732da 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1493,7 +1493,7 @@ define([ onBeforeUnload: function() { Common.localStorage.save(); - var isEdit = this.permissions.edit !== false && this.editorConfig.mode !== 'view' && this.editorConfig.mode !== 'editdiagram'; + var isEdit = this.permissions.edit !== false && this.editorConfig.mode !== 'view' && this.editorConfig.mode !== 'editdiagram' && this.editorConfig.mode !== 'editmerge'; if (isEdit && this.api.asc_isDocumentModified()) { var me = this; this.api.asc_stopSaving();