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

New commits:
commit ca4f44099f3a58bd10a72fc650182349249e25dd
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Fri Mar 11 17:18:26 2016 +0100

    Revert "loleaflet: pass doc URI to WebSocket"
    
    With this, no document loads.
    
    This reverts commit 081ca0aa9f7a8af0833f5ec04f4169dcb85b4a7b.

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 3a0f61a..d1d5ad9 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 + 
map.options.doc);
+                       this.socket = new WebSocket(map.options.server);
                } 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