[Libreoffice-commits] online.git: loleaflet/src

Henry Castro hcastro at collabora.com
Wed Aug 26 19:12:55 PDT 2015


 loleaflet/src/layer/tile/TileLayer.js |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f109da69e49db2157ba4a57ecd931037b7096991
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed Aug 26 22:09:11 2015 -0400

    loleaflet: add timestamp when trying to ...
    
    re-establish dropped connection.

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index c60dd1b..db10821 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -540,7 +540,8 @@ L.TileLayer = L.GridLayer.extend({
 		    // clear queue
 		    this._msgQueue = [];
 		    // reload interrupted document
-		    this._msgQueue.push({msg:'load url=' + this.options.doc, coords: coords});
+		    this._msgQueue.push({msg:'load 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});


More information about the Libreoffice-commits mailing list