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

Pranav Kant pranavk at collabora.co.uk
Fri Sep 23 11:38:21 UTC 2016


 loleaflet/src/layer/tile/ImpressTileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e7c510a20291e8d39bd0562ff752225f400c8e97
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Fri Sep 23 17:07:41 2016 +0530

    loleaflet: Store view id as int
    
    Change-Id: I80a36311a66767d3caafb9bb94df6205309af02b

diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js
index e931ef6..522ba09 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -129,7 +129,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
 			this._updateMaxBounds(true);
 			this._documentInfo = textMsg;
 			this._parts = command.parts;
-			this._viewId = command.viewid;
+			this._viewId = parseInt(command.viewid);
 			this._selectedPart = command.selectedPart;
 			this._resetPreFetching(true);
 			this._update();


More information about the Libreoffice-commits mailing list