From 09c1abf39e42e7b553690b698cda6c9f95035873 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 6 Jun 2017 12:31:42 +0300 Subject: [PATCH] [DE] Show Review panel with comments, spell checking when permissions.review=false. --- apps/documenteditor/main/app/controller/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 5c727d501..fdf1f006a 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -1066,7 +1066,7 @@ define([ toolbarController = application.getController('Toolbar'), rightmenuController = application.getController('RightMenu'), fontsControllers = application.getController('Common.Controllers.Fonts'), - reviewController = (this.appOptions.canReview) ? application.getController('Common.Controllers.ReviewChanges') : null; + reviewController = (this.appOptions.isEdit) ? application.getController('Common.Controllers.ReviewChanges') : null; fontsControllers && fontsControllers.setApi(me.api); toolbarController && toolbarController.setApi(me.api);