[Libreoffice-commits] online.git: 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 323627a8b24dbc8d7c97b288fa63a2c73dba55d4
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:30 2018 +0100

    Don't show '>>' in calc's toolbar
    
    Change-Id: I780967325655d25d1a1484c9ffbfb98b2dd5197e
    Reviewed-on: https://gerrit.libreoffice.org/65279
    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