Fix wopi config
This commit is contained in:
parent
bce63ab546
commit
5c8114626a
|
@ -230,7 +230,7 @@ div {
|
||||||
'onRequestEditRights': fileInfo.EditModePostMessage ? onRequestEditRights : undefined,
|
'onRequestEditRights': fileInfo.EditModePostMessage ? onRequestEditRights : undefined,
|
||||||
"onError": onError,
|
"onError": onError,
|
||||||
"onRequestClose": fileInfo. ClosePostMessage ? onRequestClose : undefined,
|
"onRequestClose": fileInfo. ClosePostMessage ? onRequestClose : undefined,
|
||||||
"onRequestRename": fileInfo.SupportsRename ? onRequestRename : undefined,
|
"onRequestRename": fileInfo.SupportsRename && fileInfo.UserCanRename ? onRequestRename : undefined,
|
||||||
"requestSharingSettings": fileInfo.FileSharingPostMessage ? requestSharingSettings : undefined
|
"requestSharingSettings": fileInfo.FileSharingPostMessage ? requestSharingSettings : undefined
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue