loleaflet/src/layer/tile/TileLayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f999c337b9ac4455d4181df8aa154194d04ab027 Author: Mihai Varga <mihai.va...@collabora.com> Date: Thu May 28 11:02:03 2015 +0300 Better differentiate commands, status vs statusindicator diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 1f2d5ba..467fe9d 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -177,7 +177,7 @@ L.TileLayer = L.GridLayer.extend({ } } } - else if (textMsg.startsWith('status')) { + else if (textMsg.startsWith('status:')) { var command = this._parseServerCmd(textMsg); if (command.width && command.height && this._documentInfo !== textMsg) { this._docWidthTwips = command.width; @@ -194,7 +194,7 @@ L.TileLayer = L.GridLayer.extend({ this._update(); } } - else if (textMsg.startsWith('tile')) { + else if (textMsg.startsWith('tile:')) { var command = this._parseServerCmd(textMsg); var coords = this._twipsToCoords(new L.Point(command.x, command.y)); coords.z = command.zoom; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits