[DE] Enable chat panel for signed document.

This commit is contained in:
Julia Radzhabova 2017-11-09 16:56:41 +03:00
parent 41f33ec586
commit 842df657e6
3 changed files with 10 additions and 1 deletions

View file

@ -183,6 +183,7 @@ require([
'documenteditor/main/app/view/TableSettings',
'documenteditor/main/app/view/ShapeSettings',
'documenteditor/main/app/view/TextArtSettings',
'documenteditor/main/app/view/SignatureSettings',
'common/main/lib/util/utils',
'common/main/lib/util/LocalStorage',
'common/main/lib/controller/Fonts',

View file

@ -319,7 +319,14 @@ define([
DE.getController('RightMenu').SetDisabled(disable, false, true);
DE.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
DE.getController('Common.Controllers.ReviewChanges').SetDisabled(disable);
DE.getController('LeftMenu').SetDisabled(disable, true);
var leftMenu = DE.getController('LeftMenu').leftMenu;
leftMenu.btnComments.setDisabled(disable);
if (disable) leftMenu.close();
var comments = DE.getController('Common.Controllers.Comments');
if (comments)
comments.setPreviewMode(disable);
this.disableInsertControls(disable);
},

View file

@ -173,6 +173,7 @@ require([
'documenteditor/main/app/view/TableSettings',
'documenteditor/main/app/view/ShapeSettings',
'documenteditor/main/app/view/TextArtSettings',
'documenteditor/main/app/view/SignatureSettings',
'common/main/lib/util/utils',
'common/main/lib/util/LocalStorage',
'common/main/lib/controller/Fonts',