diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 6c9c5b4b7..26e80101a 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -2073,7 +2073,7 @@ define([ var filemenu = this.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file'); filemenu.loadDocument({doc:this.document}); - filemenu.panels['info'].updateInfo(this.document); + filemenu.panels && filemenu.panels['info'] && filemenu.panels['info'].updateInfo(this.document); Common.Gateway.metaChange(meta); }, diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 8ac192e66..ec6d0c662 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -1765,7 +1765,7 @@ define([ var filemenu = this.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file'); filemenu.loadDocument({doc:this.document}); - filemenu.panels['info'].updateInfo(this.document); + filemenu.panels && filemenu.panels['info'] && filemenu.panels['info'].updateInfo(this.document); Common.Gateway.metaChange(meta); }, diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 9c399ae43..a3f7d91ed 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2045,7 +2045,7 @@ define([ this.updateWindowTitle(this.api.asc_isDocumentModified(), true); this.appOptions.spreadsheet.title = meta.title; filemenu.loadDocument({doc:this.appOptions.spreadsheet}); - filemenu.panels['info'].updateInfo(this.appOptions.spreadsheet); + filemenu.panels && filemenu.panels['info'] && filemenu.panels['info'].updateInfo(this.appOptions.spreadsheet); Common.Gateway.metaChange(meta); },