[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);
|
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);
|
application.getController('PivotTable').setMode(me.appOptions).setConfig({config: me.editorConfig}, me.api);
|
||||||
|
|
||||||
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
|
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
|
||||||
|
|
|
@ -3175,14 +3175,12 @@ define([
|
||||||
me.toolbar.btnsFormula = formulatab.getButtons('formula');
|
me.toolbar.btnsFormula = formulatab.getButtons('formula');
|
||||||
Array.prototype.push.apply(me.toolbar.lockControls, formulatab.getButtons());
|
Array.prototype.push.apply(me.toolbar.lockControls, formulatab.getButtons());
|
||||||
|
|
||||||
if ( !config.isOffline ) {
|
|
||||||
var tab = {action: 'pivot', caption: me.textPivot};
|
var tab = {action: 'pivot', caption: me.textPivot};
|
||||||
var $panel = me.getApplication().getController('PivotTable').createToolbarPanel();
|
var $panel = me.getApplication().getController('PivotTable').createToolbarPanel();
|
||||||
if ($panel) {
|
if ($panel) {
|
||||||
me.toolbar.addTab(tab, $panel, 5);
|
me.toolbar.addTab(tab, $panel, 5);
|
||||||
me.toolbar.setVisible('pivot', true);
|
me.toolbar.setVisible('pivot', true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!(config.customization && config.customization.compactHeader)) {
|
if (!(config.customization && config.customization.compactHeader)) {
|
||||||
// hide 'print' and 'save' buttons group and next separator
|
// hide 'print' and 'save' buttons group and next separator
|
||||||
|
|
Loading…
Reference in a new issue