[DE] Show Review panel with comments, spell checking when permissions.review=false.

This commit is contained in:
Julia Radzhabova 2017-06-06 12:31:42 +03:00
parent eba6aa826e
commit 09c1abf39e

View file

@ -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);