diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index ec4b694c2..f1ee298fc 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1109,7 +1109,7 @@ define([ statusbarController.getView('Statusbar').changeViewMode(true); } - if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram && !me.appOptions.isOffline) + if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram) application.getController('PivotTable').setMode(me.appOptions).setConfig({config: me.editorConfig}, me.api); var viewport = this.getApplication().getController('Viewport').getView('Viewport'); diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index e0f592658..c424d3062 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -3175,13 +3175,11 @@ define([ me.toolbar.btnsFormula = formulatab.getButtons('formula'); Array.prototype.push.apply(me.toolbar.lockControls, formulatab.getButtons()); - if ( !config.isOffline ) { - var tab = {action: 'pivot', caption: me.textPivot}; - var $panel = me.getApplication().getController('PivotTable').createToolbarPanel(); - if ($panel) { - me.toolbar.addTab(tab, $panel, 5); - me.toolbar.setVisible('pivot', true); - } + var tab = {action: 'pivot', caption: me.textPivot}; + var $panel = me.getApplication().getController('PivotTable').createToolbarPanel(); + if ($panel) { + me.toolbar.addTab(tab, $panel, 5); + me.toolbar.setVisible('pivot', true); } if (!(config.customization && config.customization.compactHeader)) {