[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-4' - loleaflet/src

Mihai Varga mihai.varga at collabora.com
Thu Aug 6 06:13:30 PDT 2015


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

New commits:
commit 11e036f00193cefd74369e4d22e81423190077c3
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Wed Aug 5 19:07:42 2015 +0300

    loleaflet: forgot 'this' keyword

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index e77fe32..c426fe0 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -348,7 +348,7 @@ L.TileLayer = L.GridLayer.extend({
 					this._parts = 1;
 					this._currentPage = command.currentPart;
 					this._pages = command.parts;
-					map.fire('pagenumberchanged', {
+					this._map.fire('pagenumberchanged', {
 						currentPage: this._currentPage,
 						pages: this._pages,
 						docType: this._docType


More information about the Libreoffice-commits mailing list