[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loleaflet/src
Jan Holesovsky
kendy at collabora.com
Mon Jan 18 08:03:06 PST 2016
loleaflet/src/core/Socket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 588ccb95bb34500dbd3218aa86741d7e73733315
Author: Jan Holesovsky <kendy at collabora.com>
Date: Mon Jan 18 17:02:27 2016 +0100
loleaflet: connect() was actually renamed to initialize().
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 43afc39..f6c031c 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -29,7 +29,7 @@ L.Socket = L.Class.extend({
sendMessage: function (msg, coords) {
var socketState = this.socket.readyState;
if (socketState === 2 || socketState === 3) {
- this.connect(this._map);
+ this.initialize(this._map);
this._msgQueue.push({msg: msg, coords: coords});
}
More information about the Libreoffice-commits
mailing list