[SSE] Show pivot settings for desktop
This commit is contained in:
parent
d4c0e9f771
commit
32ddf384f8
|
@ -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');
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue