Skip to content

Commit 807a8db

Browse files
committed
added new 'Error_Messages' postmessage
- so that collbora online can show a custom with nextcloud documentation link Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
1 parent 17389a7 commit 807a8db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/document.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ const documentsMain = {
545545
PostMessages.sendWOPIPostMessage('loolframe', 'Disable_Default_UIAction', { action: 'UI_Hyperlink', disable: true })
546546
}
547547
})
548+
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' })
548549

549550
// submit that
550551
$('#loleafletform').submit()

0 commit comments

Comments
 (0)