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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Mar 1 16:08:01 UTC 2019


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

New commits:
commit 59355d5fbc4d80d43c20b07f42ec094d17cbd606
Author:     Alexandru Vlăduţu <alexandru.vladutu at 1and1.ro>
AuthorDate: Fri Mar 1 14:28:08 2019 +0200
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Mar 1 17:07:43 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/68589
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/loleaflet/src/control/Control.Tabs.js b/loleaflet/src/control/Control.Tabs.js
index 494d523c8..e173c2bac 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -139,7 +139,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