[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Mon Oct 10 11:45:20 UTC 2016
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 176367b40844038adabc8e82e076c011d6000f98
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Mon Oct 10 17:13:02 2016 +0530
loleaflet: Fix incorrect reference to username
Change-Id: Ibd6433c862eaf5f5fe57244180691ef8b08e3fbb
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 38619f6..c6d2f71 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -134,7 +134,7 @@ L.Map = L.Evented.extend({
},
removeView: function(viewid) {
- var username = this._viewInfo[viewid];
+ var username = this._viewInfo[viewid].username;
delete this._viewInfo[viewid];
this.fire('removeview', {viewId: viewid, username: username});
},
More information about the Libreoffice-commits
mailing list