loleaflet/js/toolbar.js | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 22416fc45cba98222a02a044abb9c55b038d7ae3
Author: Henry Castro <[email protected]>
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 <[email protected]>
Tested-by: Jan Holesovsky <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/56783
Reviewed-by: Henry Castro <[email protected]>
Tested-by: Henry Castro <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits