Fix Bug 35584.

This commit is contained in:
Julia Radzhabova 2017-08-14 13:21:17 +03:00
parent 5105efaf4b
commit 6e003751ab

View file

@ -57,9 +57,9 @@ define([
this.addListeners({
'Toolbar': {
'render:before' : function (toolbar) {
var isedit = this.getApplication().getController('Main').appOptions.isEdit;
var appOptions = me.getApplication().getController('Main').appOptions;
if ( isedit ) {
if ( appOptions.isEdit && !appOptions.isEditMailMerge && !appOptions.isEditDiagram ) {
var tab = {action: 'plugins', caption: me.panelPlugins.groupCaption};
var $panel = me.panelPlugins.getPanel();