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

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 29 01:41:14 UTC 2019


 loleaflet/src/layer/tile/TileLayer.js |    1 +
 loleaflet/src/map/Map.js              |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 1cf79e639f8aad8e9916e9c0dc680624c459e3f1
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Mon Nov 12 23:04:57 2018 -0500
Commit:     Ashod Nakashian <ashnakash at gmail.com>
CommitDate: Tue Oct 29 02:40:55 2019 +0100

    leaflet: initialize before use
    
    (cherry picked from commit 1fe1d765dfe8a7ff3fb89ecf437afccbea684d71)
    
    Change-Id: Ib8eee6e50092950016ebb889f7dbe10674e9cbc7
    Reviewed-on: https://gerrit.libreoffice.org/81580
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index fc4c8d581..d7bdd4e75 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -199,6 +199,7 @@ L.TileLayer = L.GridLayer.extend({
 		this._getToolbarCommandsValues();
 		this._selections = new L.LayerGroup();
 		this._references = new L.LayerGroup();
+		this._referencesAll = [];
 		if (this.options.permission !== 'readonly') {
 			map.addLayer(this._selections);
 			map.addLayer(this._references);
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index b4fc79082..9e4163cea 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -109,6 +109,7 @@ L.Map = L.Evented.extend({
 		this._helpTarget = null; // help page that fits best the current context
 		this._disableDefaultAction = {}; // The events for which the default handler is disabled and only issues postMessage.
 		this._winId = 0;
+		this._activeDialog = null;
 
 		vex.dialogID = -1;
 


More information about the Libreoffice-commits mailing list