[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Wed Apr 27 18:03:14 UTC 2016
loleaflet/src/layer/tile/CalcTileLayer.js | 1 -
loleaflet/src/layer/tile/ImpressTileLayer.js | 1 -
2 files changed, 2 deletions(-)
New commits:
commit c3e7d9b6ba4521059fdc812c2792019a2187793c
Author: Henry Castro <hcastro at collabora.com>
Date: Wed Apr 27 13:58:20 2016 -0400
loleaflet: do not use setclientpart when received "status:"
diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 061eaa1..517f86f 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -166,7 +166,6 @@ L.CalcTileLayer = L.TileLayer.extend({
this._updateMaxBounds(true);
}
this._documentInfo = textMsg;
- this._map._socket.sendMessage('setclientpart part=' + this._selectedPart);
var partNames = textMsg.match(/[^\r\n]+/g);
// only get the last matches
partNames = partNames.slice(partNames.length - this._parts);
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js
index b5e78e3..182afc1 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -123,7 +123,6 @@ L.ImpressTileLayer = L.TileLayer.extend({
this._documentInfo = textMsg;
this._parts = command.parts;
this._selectedPart = command.selectedPart;
- this._map._socket.sendMessage('setclientpart part=' + this._selectedPart);
this._resetPreFetching(true);
this._update();
if (this._preFetchPart !== this._selectedPart) {
More information about the Libreoffice-commits
mailing list