diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index 5239dd925..4c78a6a9e 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -2792,8 +2792,10 @@ define([ }, onFileMenu: function (opts) { - if ( opts == 'show' ) {} - else { + if ( opts == 'show' ) { + if ( !this.toolbar.isTabActive('file') ) + this.toolbar.setTab('file'); + } else { if ( this.toolbar.isTabActive('file') ) this.toolbar.setTab(); } diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 79dd28c62..0bc0bb058 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -2065,8 +2065,10 @@ define([ }, onFileMenu: function (opts) { - if ( opts == 'show' ) {} - else { + if ( opts == 'show' ) { + if ( !this.toolbar.isTabActive('file') ) + this.toolbar.setTab('file'); + } else { if ( this.toolbar.isTabActive('file') ) this.toolbar.setTab(); } diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 7e8d8c0d3..a51b8a8d6 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -3035,8 +3035,10 @@ define([ }, onFileMenu: function (opts) { - if ( opts == 'show' ) {} - else { + if ( opts == 'show' ) { + if ( !this.toolbar.isTabActive('file') ) + this.toolbar.setTab('file'); + } else { if ( this.toolbar.isTabActive('file') ) this.toolbar.setTab(); }