Fix Bug 77211

This commit is contained in:
Julia.Radzhabova
2025-10-14 20:26:03 +03:00
parent 938671058e
commit 81a6f3ccee
9 changed files with 9 additions and 9 deletions

View File

@ -1639,7 +1639,7 @@ class MainController extends Component {
docInfo.put_Format(this.document.fileType);
docInfo.put_Lang(this.editorConfig.lang);
docInfo.put_Mode(this.editorConfig.mode);
docInfo.put_Permissions(this.permissions);
docInfo.put_Permissions(this.document.permissions);
docInfo.put_DirectUrl(data.document && data.document.directUrl ? data.document.directUrl : this.document.directUrl);
docInfo.put_VKey(data.document && data.document.vkey ? data.document.vkey : this.document.vkey);
docInfo.put_EncryptedInfo(data.editorConfig && data.editorConfig.encryptionKeys ? data.editorConfig.encryptionKeys : this.editorConfig.encryptionKeys);