[DE] Close comments panel when start view mode for review.

This commit is contained in:
Julia Radzhabova 2017-08-23 23:32:27 +03:00
parent 207376bb0d
commit 08797b870b

View file

@ -521,7 +521,10 @@ define([
app.getController('RightMenu').SetDisabled(disable, false);
app.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
app.getController('DocumentHolder').getView().SetDisabled(disable);
app.getController('LeftMenu').leftMenu.btnComments.setDisabled(disable);
var leftMenu = app.getController('LeftMenu').leftMenu;
leftMenu.btnComments.setDisabled(disable);
if (disable) leftMenu.close();
if (this.view) {
var group = this.view.$el.find('.move-changes');