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

New commits:
commit 01dd761750b0fe0ab5a1c0949fc9dd7b67db195f
Author: Henry Castro <hcas...@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>';
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to