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

New commits:
commit 6cc8df82886291e1bda91dc6982e098318bc2b75
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>

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index ac547d55e..652a64de9 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -499,6 +499,10 @@ $(function () {
                }
        });
        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