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

Mihai Varga mihai.varga at collabora.com
Wed Aug 5 09:08:06 PDT 2015


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

New commits:
commit 9d957ccafbf13b180aa8903aaeacbbf3ca22f13d
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 37413b6..1675a07 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -356,7 +356,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