[DE] Disable/enable plugins left panel when review mode is changed.

This commit is contained in:
Julia Radzhabova 2017-12-01 14:50:25 +03:00
parent d5a7af7181
commit 662a7e0c20
2 changed files with 2 additions and 1 deletions

View file

@ -526,6 +526,7 @@ define([
app.getController('RightMenu').SetDisabled(disable, false);
app.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
app.getController('DocumentHolder').getView().SetDisabled(disable);
app.getController('Common.Controllers.Plugins').getView('Common.Views.Plugins').disableControls(disable);
var leftMenu = app.getController('LeftMenu').leftMenu;
leftMenu.btnComments.setDisabled(disable);

View file

@ -74,7 +74,7 @@ define([
_.extend(this, options);
this._locked = false;
this._state = {
DisabledControls: true
DisabledControls: false
};
this.lockedControls = [];
Common.UI.BaseView.prototype.initialize.call(this, arguments);