v5.1.4
This commit is contained in:
commit
02c9828c57
|
@ -969,7 +969,7 @@ define([
|
|||
|
||||
Common.Views.ReviewChangesDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
width : 283,
|
||||
width : 330,
|
||||
height : 90,
|
||||
title : 'Review Changes',
|
||||
modal : false,
|
||||
|
@ -978,7 +978,9 @@ define([
|
|||
},
|
||||
|
||||
initialize : function(options) {
|
||||
_.extend(this.options, options || {});
|
||||
_.extend(this.options, {
|
||||
title : this.textTitle
|
||||
}, options || {});
|
||||
|
||||
this.template = [
|
||||
'<div class="box">',
|
||||
|
|
|
@ -50,10 +50,10 @@
|
|||
}
|
||||
|
||||
.popover-view {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
|
||||
> .pages {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5664,11 +5664,11 @@ a.item-link,
|
|||
}
|
||||
.settings.popup .popover-view,
|
||||
.settings.popover .popover-view {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings.popup .popover-view > .pages,
|
||||
.settings.popover .popover-view > .pages {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings .categories {
|
||||
width: 100%;
|
||||
|
|
|
@ -5664,11 +5664,11 @@ a.item-link,
|
|||
}
|
||||
.settings.popup .popover-view,
|
||||
.settings.popover .popover-view {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings.popup .popover-view > .pages,
|
||||
.settings.popover .popover-view > .pages {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings .categories {
|
||||
width: 100%;
|
||||
|
|
|
@ -1000,7 +1000,7 @@ define([
|
|||
statusbarController.getView('Statusbar').changeViewMode(true);
|
||||
}
|
||||
|
||||
if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram)
|
||||
if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram && !me.appOptions.isOffline)
|
||||
application.getController('PivotTable').setMode(me.appOptions).setConfig({config: me.editorConfig}, me.api);
|
||||
|
||||
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
|
||||
|
|
|
@ -2957,15 +2957,17 @@ define([
|
|||
me.toolbar.setApi(me.api);
|
||||
|
||||
if ( !config.isEditDiagram && !config.isEditMailMerge ) {
|
||||
var tab = {action: 'pivot', caption: me.textPivot};
|
||||
var $panel = me.getApplication().getController('PivotTable').createToolbarPanel();
|
||||
if ( $panel ) {
|
||||
me.toolbar.addTab(tab, $panel, 3);
|
||||
me.toolbar.setVisible('pivot', true);
|
||||
if ( !config.isOffline ) {
|
||||
tab = {action: 'pivot', caption: me.textPivot};
|
||||
$panel = me.getApplication().getController('PivotTable').createToolbarPanel();
|
||||
if ($panel) {
|
||||
me.toolbar.addTab(tab, $panel, 3);
|
||||
me.toolbar.setVisible('pivot', true);
|
||||
}
|
||||
}
|
||||
|
||||
tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
$panel = me.getApplication().getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||
var tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
var $panel = me.getApplication().getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||
if ( $panel )
|
||||
me.toolbar.addTab(tab, $panel, 4);
|
||||
|
||||
|
@ -2982,7 +2984,7 @@ define([
|
|||
|
||||
if ( config.isOffline ) {
|
||||
tab = {action: 'protect', caption: me.toolbar.textTabProtect};
|
||||
var $panel = me.getApplication().getController('Common.Controllers.Protection').createToolbarPanel();
|
||||
$panel = me.getApplication().getController('Common.Controllers.Protection').createToolbarPanel();
|
||||
if ($panel)
|
||||
me.toolbar.addTab(tab, $panel, 5);
|
||||
}
|
||||
|
|
|
@ -5674,11 +5674,11 @@ textarea {
|
|||
}
|
||||
.settings.popup .popover-view,
|
||||
.settings.popover .popover-view {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings.popup .popover-view > .pages,
|
||||
.settings.popover .popover-view > .pages {
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.settings .categories {
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in a new issue