[Libreoffice-commits] online.git: loleaflet/src

Andras Timar andras.timar at collabora.com
Thu Oct 27 11:29:14 UTC 2016


 loleaflet/src/core/Socket.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1496a08e78d2eb26ad498b95e616d9b5c0072e12
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Oct 27 13:28:52 2016 +0200

    too many connections/users -> jump to FAQ

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index ba35050..b24aed6 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -245,7 +245,7 @@ L.Socket = L.Class.extend({
 				textMsg = textMsg.replace(/%0/g, command.params[0]);
 				textMsg = textMsg.replace(/%1/g, command.params[1]);
 				textMsg = textMsg.replace(/%2/g, (typeof brandProductName !== 'undefined' ? brandProductName : 'LibreOffice Online'));
-				textMsg = textMsg.replace(/%3/g, (typeof brandProductURL !== 'undefined' ? brandProductURL : 'https://wiki.documentfoundation.org/Development/LibreOffice_Online'));
+				textMsg = textMsg.replace(/%3/g, (typeof brandProductFAQURL !== 'undefined' ? brandProductFAQURL : 'https://wiki.documentfoundation.org/Development/LibreOffice_Online'));
 			}
 			else if (command.errorKind === 'serviceunavailable') {
 				this._map._fatal = true;


More information about the Libreoffice-commits mailing list