mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 08:21:28 +08:00
Merge pull request #2151 from ONLYOFFICE/fix/fix-bugs
[DE] Fix bug 60184
This commit is contained in:
@ -602,7 +602,7 @@ define([
|
||||
},
|
||||
|
||||
updatePreviewMode: function() {
|
||||
var viewmode = this._state.disableEditing || this._state.docProtection.isReadOnly || this._state.docProtection.isFormsOnly;
|
||||
var viewmode = this._state.disableEditing || this._state.docProtection.isReadOnly || this._state.docProtection.isFormsOnly || this._state.docProtection.isCommentsOnly;
|
||||
if (this.viewmode === viewmode) return;
|
||||
this.viewmode = viewmode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user