mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Wopi fix
This commit is contained in:
@ -114,7 +114,7 @@ div {
|
||||
"document": {
|
||||
"title": fileInfo.BreadcrumbDocName || fileInfo.BaseFileName,
|
||||
"url": userAuth.wopiSrc,
|
||||
"fileType": fileInfo.FileExtension ? fileInfo.BaseFileName.substr(1) : fileType,
|
||||
"fileType": fileInfo.FileExtension ? fileInfo.FileExtension.substr(1) : fileType,
|
||||
"key": key,
|
||||
"info": {
|
||||
"folder": fileInfo.BreadcrumbFolderName
|
||||
@ -131,8 +131,8 @@ div {
|
||||
"callbackUrl": JSON.stringify(userAuth),
|
||||
"sharingSettingsUrl": fileInfo.FileSharingUrl,
|
||||
"user": {
|
||||
"id": fileInfo.IsAnonymousUser ? "" : fileInfo.UserId,
|
||||
"name": fileInfo.UserFriendlyName
|
||||
"id": fileInfo.UserId,
|
||||
"name": fileInfo.IsAnonymousUser ? "" : fileInfo.UserFriendlyName
|
||||
},
|
||||
"customization": {
|
||||
"about": true,
|
||||
|
||||
Reference in New Issue
Block a user