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

Andras Timar andras.timar at collabora.com
Thu Feb 15 21:00:53 UTC 2018


 loleaflet/src/control/Control.Menubar.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8c6b75565c4155456420aca8f09dd4671ac17387
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Feb 15 21:59:30 2018 +0100

    loleaflet: fix Insert Header and Footer menu
    
    Change-Id: I7ba5101c752aeef9f3c5f674bfbb900704333c7f

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 9b3b8a8d..349b7b5f 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -65,9 +65,9 @@ L.Control.Menubar = L.Control.extend({
 				{name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'},
 				{type: 'separator'},
 				{name: _UNO('.uno:InsertHeaderFooterMenu', 'text'), type: 'menu', menu: [
-					{name: _UNO('.uno:InsertPageHeader'), type: 'menu', menu: [
+					{name: _UNO('.uno:InsertPageHeader', 'text'), type: 'menu', menu: [
 						{name: _('All'), disabled: true, id: 'insertheader', tag: '_ALL_', uno: '.uno:InsertPageHeader?'}]},
-					{name: _UNO('.uno:InsertPageFooter'), type: 'menu', menu: [
+					{name: _UNO('.uno:InsertPageFooter', 'text'), type: 'menu', menu: [
 						{name: _('All'), disabled: true, id: 'insertfooter', tag: '_ALL_', uno: '.uno:InsertPageFooter?'}]}
 				]},
 				{uno: '.uno:InsertFootnote'},


More information about the Libreoffice-commits mailing list