[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/js

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 17 16:27:49 UTC 2018


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

New commits:
commit 11acfb14dd0de4ae502f1b3beed92e58c177815c
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Dec 17 13:33:06 2018 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Dec 17 17:27:41 2018 +0100

    Don't show '>>' in calc's toolbar
    
    Change-Id: I780967325655d25d1a1484c9ffbfb98b2dd5197e
    Reviewed-on: https://gerrit.libreoffice.org/65280
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index c2088739b..82fd2eaa1 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -1739,6 +1739,12 @@ function onDocLayerInit() {
 		$('#tb_editbar_item_fonts').css({'display': 'none'});
 		$('#tb_editbar_item_fontsizes').css({'display': 'none'});
 	}
+
+	if (docType == 'spreadsheet') {
+		var el = w2ui['spreadsheet-toolbar'];
+		if (el)
+			el.resize();
+	}
 }
 
 function onCommandStateChanged(e) {


More information about the Libreoffice-commits mailing list