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

Pranav Kant pranavk at collabora.co.uk
Mon Oct 10 12:50:58 UTC 2016


 loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 76e739bc0da70de966917267bbbf8fd411d81d4a
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
    (cherry picked from commit 176367b40844038adabc8e82e076c011d6000f98)

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index ba72f67..56ac23a 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -131,7 +131,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