[Libreoffice-commits] online.git: loleaflet/js
Henry Castro
hcastro at collabora.com
Sun Jul 1 21:41:24 UTC 2018
loleaflet/js/toolbar.js | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 22416fc45cba98222a02a044abb9c55b038d7ae3
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>
Reviewed-on: https://gerrit.libreoffice.org/56783
Reviewed-by: Henry Castro <hcastro at collabora.com>
Tested-by: Henry Castro <hcastro at 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({
More information about the Libreoffice-commits
mailing list