From 465c437912b500bed37261bc56a6e0e665fad068 Mon Sep 17 00:00:00 2001 From: Rashesh Padia Date: Tue, 10 Oct 2023 13:16:11 +0530 Subject: [PATCH] added new 'Error_Messages' postmessage - so that collbora online can show a custom with nextcloud documentation link Signed-off-by: Rashesh Padia --- src/document.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/document.js b/src/document.js index e72bb426f9..de3b0b27cd 100644 --- a/src/document.js +++ b/src/document.js @@ -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()