[Libreoffice-commits] online.git: Branch 'libreoffice-6-1' - loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Mar 1 15:37:25 UTC 2019


 loleaflet/src/control/Control.Tabs.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9e0ecb30acb0146623adfefe6b713d6f068ac84c
Author:     Alexandru Vlăduţu <alexandru.vladutu at 1and1.ro>
AuthorDate: Fri Mar 1 14:28:08 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Mar 1 16:37:17 2019 +0100

    loleaflet: change JS method for displaying tab name in spreadsheet
    
    Change-Id: I8f217b2d8e42e79c907c06ddb90e6a2a654e24ef
    Reviewed-on: https://gerrit.libreoffice.org/68548
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    (cherry picked from commit eb12f7f8bba067fb0a4777b5d6b3ad4f92ab92f0)
    Reviewed-on: https://gerrit.libreoffice.org/68587

diff --git a/loleaflet/src/control/Control.Tabs.js b/loleaflet/src/control/Control.Tabs.js
index 482f266d4..08b20809a 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -120,7 +120,7 @@ L.Control.Tabs = L.Control.extend({
 						continue;
 					var id = 'spreadsheet-tab' + i;
 					var tab = L.DomUtil.create('div', 'spreadsheet-tab', ssTabScroll);
-					tab.innerHTML = e.partNames[i];
+					tab.textContent = e.partNames[i];
 					tab.id = id;
 
 					L.DomEvent


More information about the Libreoffice-commits mailing list