Wopi fix
This commit is contained in:
parent
66d43b49f2
commit
cb3ee9c157
|
@ -114,7 +114,7 @@ div {
|
||||||
"document": {
|
"document": {
|
||||||
"title": fileInfo.BreadcrumbDocName || fileInfo.BaseFileName,
|
"title": fileInfo.BreadcrumbDocName || fileInfo.BaseFileName,
|
||||||
"url": userAuth.wopiSrc,
|
"url": userAuth.wopiSrc,
|
||||||
"fileType": fileInfo.FileExtension ? fileInfo.BaseFileName.substr(1) : fileType,
|
"fileType": fileInfo.FileExtension ? fileInfo.FileExtension.substr(1) : fileType,
|
||||||
"key": key,
|
"key": key,
|
||||||
"info": {
|
"info": {
|
||||||
"folder": fileInfo.BreadcrumbFolderName
|
"folder": fileInfo.BreadcrumbFolderName
|
||||||
|
@ -131,8 +131,8 @@ div {
|
||||||
"callbackUrl": JSON.stringify(userAuth),
|
"callbackUrl": JSON.stringify(userAuth),
|
||||||
"sharingSettingsUrl": fileInfo.FileSharingUrl,
|
"sharingSettingsUrl": fileInfo.FileSharingUrl,
|
||||||
"user": {
|
"user": {
|
||||||
"id": fileInfo.IsAnonymousUser ? "" : fileInfo.UserId,
|
"id": fileInfo.UserId,
|
||||||
"name": fileInfo.UserFriendlyName
|
"name": fileInfo.IsAnonymousUser ? "" : fileInfo.UserFriendlyName
|
||||||
},
|
},
|
||||||
"customization": {
|
"customization": {
|
||||||
"about": true,
|
"about": true,
|
||||||
|
|
Loading…
Reference in a new issue