[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/dist

Henry Castro hcastro at collabora.com
Tue Jun 19 14:03:55 UTC 2018


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

New commits:
commit 6cc8df82886291e1bda91dc6982e098318bc2b75
Author: Henry Castro <hcastro at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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({


More information about the Libreoffice-commits mailing list