[WOPI] Fix typos

This commit is contained in:
Sergey Konovalov 2021-05-11 11:28:38 +03:00
parent cade876563
commit 0434a8cce7
No known key found for this signature in database
GPG key ID: 50AA3E87DFA11C67

View file

@ -168,7 +168,7 @@ div {
}; };
var onRequestEditRights = function () { var onRequestEditRights = function () {
_postMessage('UI_Edit', {}); _postMessage('UI_Edit', {});
}; };
var requestSharingSettings = function (event) { var requestSharingSettings = function (event) {
@ -239,9 +239,9 @@ div {
"onDocumentStateChange": fileInfo.EditNotificationPostMessage ? onDocumentStateChange : undefined, "onDocumentStateChange": fileInfo.EditNotificationPostMessage ? onDocumentStateChange : undefined,
'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 && fileInfo.UserCanRename ? onRequestRename : undefined, "onRequestRename": fileInfo.SupportsRename && fileInfo.UserCanRename ? onRequestRename : undefined,
"requestSharingSettings": fileInfo.FileSharingPostMessage ? requestSharingSettings : undefined "onRequestSharingSettings": fileInfo.FileSharingPostMessage ? requestSharingSettings : undefined
} }
}; };