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

Henry Castro hcastro at collabora.com
Mon Sep 4 23:22:13 UTC 2017


 loleaflet/dist/toolbar/toolbar.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 01dd761750b0fe0ab5a1c0949fc9dd7b67db195f
Author: Henry Castro <hcastro at collabora.com>
Date:   Mon Sep 4 19:16:07 2017 -0400

    loleaflet: log when w2ui toolbar is not created
    
    Change-Id: I9f8f50b628028f9f5541aa97f8c2f0ff2e72924d

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index ef30c422..d69fe1b3 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -722,6 +722,9 @@ $(function () {
 			$('#search-input').off('keypress', onSearchKeyPress).on('keypress', onSearchKeyPress);
 		}
 	});
+	if ($('#toolbar-up').children().length === 0) {
+		console.log('w2ui toolbar is not created');
+	}
 });
 
 var userJoinedPopupMessage = '<div>' + _('%user has joined') + '</div>';


More information about the Libreoffice-commits mailing list