[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Wed Aug 26 21:25:59 PDT 2015
loleaflet/src/layer/tile/TileLayer.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 6da0b93e1651a42a7a863f660f2809a34e125627
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Aug 27 00:25:14 2015 -0400
loleaflet: update part= optional parameter
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index db10821..40156b9 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -540,11 +540,8 @@ L.TileLayer = L.GridLayer.extend({
// clear queue
this._msgQueue = [];
// reload interrupted document
- this._msgQueue.push({msg:'load url=' + this.options.doc +
+ this._msgQueue.push({msg:'load part='+ this._currentPart + ' url=' + this.options.doc +
( this.options.timestamp ? ' timestamp=' + this.options.timestamp : '') , coords: coords});
- // restore current part
- this._msgQueue.push({msg:"setclientpart part=" + this._currentPart, coords: coords});
- this._msgQueue.push({msg:"setpage page=" + this._currentPart, coords: coords});
// push next message
this._msgQueue.push({msg: msg, coords: coords});
}
More information about the Libreoffice-commits
mailing list