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

New commits:
commit 081ca0aa9f7a8af0833f5ec04f4169dcb85b4a7b
Author: Ashod Nakashian <ashod.nakash...@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 <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to