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

New commits:
commit 22416fc45cba98222a02a044abb9c55b038d7ae3
Author: Henry Castro <hcas...@collabora.com>
Date:   Mon Jun 18 15:04:53 2018 -0400

    loleaflet: disable the overflow buttons on the formula toolbar
    
    Change-Id: I788625dd5c7fbd96372a19f3cdbcbefdddeb51c8
    Reviewed-on: https://gerrit.libreoffice.org/56059
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/56783
    Reviewed-by: Henry Castro <hcas...@collabora.com>
    Tested-by: Henry Castro <hcas...@collabora.com>

diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index 34382ea36..18fe88e36 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -710,6 +710,10 @@ function createToolbar() {
                }
        });
        toolbar.contextmenu(function() { return false; });
+       $(w2ui.formulabar.box).find('.w2ui-scroll-left, 
.w2ui-scroll-right').hide();
+       w2ui.formulabar.on('resize', function(target, e) {
+               e.isCancelled = true;
+       });
 
        toolbar = $('#spreadsheet-toolbar')
        toolbar.w2toolbar({
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to