[DE] Show viewer context menu when document is signed.

This commit is contained in:
Julia Radzhabova 2017-11-10 10:45:52 +03:00
parent 92b3dd01a2
commit c2561b8d18

View file

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