diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index f92230f96..7a8e1aa01 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -844,7 +844,7 @@ define([ this.api.asc_setViewMode(!this.appOptions.isEdit && !this.appOptions.canComments); (!this.appOptions.isEdit && this.appOptions.canComments) && this.api.asc_setRestriction(Asc.c_oAscRestrictionType.OnlyComments); - (this.appOptions.isEditMailMerge || this.appOptions.isEditDiagram) ? this.api.asc_LoadEmptyDocument() : this.api.asc_LoadDocument(); + this.api.asc_LoadDocument(); }, applyModeCommonElements: function() { diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index c793b349e..078c1ef74 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -629,7 +629,7 @@ define([ me.applyModeEditorElements(); me.api.asc_setViewMode(!me.appOptions.isEdit); - (me.appOptions.isEditMailMerge || me.appOptions.isEditDiagram) ? me.api.asc_LoadEmptyDocument() : me.api.asc_LoadDocument(); + me.api.asc_LoadDocument(); if (!me.appOptions.isEdit) { me.hidePreloader();