diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index ecbdef70ac..1d245586d9 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -1778,6 +1778,7 @@ define([ } else if (mode==='review') { Common.NotificationCenter.trigger('reviewchanges:turn', true); } + this.api.asc_setRestriction(mode==='view' ? Asc.c_oAscRestrictionType.View : Asc.c_oAscRestrictionType.None); } (!inViewMode || force) && Common.NotificationCenter.trigger('doc:mode-changed', mode); },