loleaflet/src/layer/tile/TileLayer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit bcda8963894e4ecb634321557d3720cbff7d567a Author: Henry Castro <hcas...@collabora.com> Date: Mon Aug 3 21:25:34 2015 -0400 loleaflet: add time stamp query parameter diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 6ce236e..bc248b4 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -99,7 +99,8 @@ L.TileLayer = L.GridLayer.extend({ return; } if (this.options.doc) { - this.sendMessage('load url=' + this.options.doc); + var timestamp = Math.round(+new Date()/1000); + this.sendMessage('load url=' + this.options.doc + ( this.options.doc.indexOf('?') !== -1 ? '&' : '?' ) + 'timestamp=' + timestamp); this.sendMessage('status'); } this._map.on('drag resize zoomend', this._updateScrollOffset, this); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits