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

Pranav Kant pranavk at collabora.co.uk
Thu Sep 1 09:00:03 UTC 2016


 loleaflet/dist/toolbar/toolbar.js |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 53b768de0fed2d6e0243bb1a85fc37cacdfe14b6
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Thu Sep 1 14:25:54 2016 +0530

    loleaflet: Remove troublesome checks
    
    ... and fix the incosistency among view count in UI
    
    Change-Id: I6b055b6d145c2de314830731f6341462287b244a

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index b43a7de..f6597f2 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1368,9 +1368,6 @@ function updateUserListCount(userlist) {
 }
 
 map.on('addview', function(e) {
-	if (!e.viewId || !e.username)
-		return;
-
 	$('#tb_toolbar-down_item_userlist')
 		.w2overlay({
 			class: 'loleaflet-font',
@@ -1392,9 +1389,6 @@ map.on('addview', function(e) {
 });
 
 map.on('removeview', function(e) {
-	if (!e.viewId || !e.username)
-		return;
-
 	$('#tb_toolbar-down_item_userlist')
 		.w2overlay({
 			class: 'loleaflet-font',


More information about the Libreoffice-commits mailing list