[Libreoffice-commits] online.git: loleaflet/src
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Thu Mar 10 04:25:24 UTC 2016
loleaflet/src/core/Socket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 081ca0aa9f7a8af0833f5ec04f4169dcb85b4a7b
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Wed Mar 9 23:17:57 2016 -0500
loleaflet: pass doc URI to WebSocket
Change-Id: I4798364c3ec655deb214cd3d7d93bbe3e83ad81a
Reviewed-on: https://gerrit.libreoffice.org/23110
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index d1d5ad9..3a0f61a 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -9,7 +9,7 @@ L.Socket = L.Class.extend({
initialize: function (map) {
this._map = map;
try {
- this.socket = new WebSocket(map.options.server);
+ this.socket = new WebSocket(map.options.server + map.options.doc);
} catch (e) {
this.fire('error', {msg: _('Socket connection error'), cmd: 'socket', kind: 'failed', id: 3});
return null;
More information about the Libreoffice-commits
mailing list