Skip to content

Commit

Permalink
added new 'Error_Messages' postmessage
Browse files Browse the repository at this point in the history
- so that collbora online can show a custom with nextcloud
  documentation link

Signed-off-by: Rashesh Padia <[email protected]>
  • Loading branch information
Rash419 committed Oct 10, 2023
1 parent c2f8c78 commit 465c437
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ const documentsMain = {
PostMessages.sendWOPIPostMessage('loolframe', 'Disable_Default_UIAction', { action: 'UI_Hyperlink', disable: true })
}
})
PostMessages.sendWOPIPostMessage('loolframe', 'Error_Messages', { websocketconnectionfailed: 'Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy conifguration please checkout https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md'})

// submit that
$('#loleafletform').submit()
Expand Down

0 comments on commit 465c437

Please sign in to comment.