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

Aron Budea (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 28 12:16:30 UTC 2019


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

New commits:
commit 0a150a88349d010a889b3f753795d86b62c56954
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Thu Aug 22 11:58:46 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Aug 28 14:16:12 2019 +0200

    leaflet: support show/hide of Format menu
    
    Change-Id: Id40c0788c226aabadb52417a921da4a1371095f1
    Reviewed-on: https://gerrit.libreoffice.org/77950
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 529715c4d..5553993eb 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -108,7 +108,7 @@ L.Control.Menubar = L.Control.extend({
 					{uno: '.uno:InsertAuthoritiesEntry'},
 					{uno: '.uno:InsertMultiIndex'}]},
 			]},
-			{name: _UNO('.uno:FormatMenu', 'text'), type: 'menu', menu: [
+			{name: _UNO('.uno:FormatMenu', 'text'), id: 'format', type: 'menu', menu: [
 				{name: _UNO('.uno:FormatTextMenu', 'text'), type: 'menu', menu: [
 					{uno: '.uno:Bold'},
 					{uno: '.uno:Italic'},
@@ -277,7 +277,7 @@ L.Control.Menubar = L.Control.extend({
                                {type: 'separator'},
                                {uno: '.uno:HeaderAndFooter'}]
 			},
-			{name: _UNO('.uno:FormatMenu', 'presentation'), type: 'menu', menu: [
+			{name: _UNO('.uno:FormatMenu', 'presentation'), id: 'format', type: 'menu', menu: [
 				{uno: '.uno:FontDialog'},
 				{uno: '.uno:ParagraphDialog'},
 				{uno: '.uno:PageSetup'},
@@ -359,7 +359,7 @@ L.Control.Menubar = L.Control.extend({
 				{uno: '.uno:InsertSymbol'},
 				{uno: '.uno:EditHeaderAndFooter'}
 			]},
-			{name: _UNO('.uno:FormatMenu', 'spreadsheet'), type: 'menu', menu: [
+			{name: _UNO('.uno:FormatMenu', 'spreadsheet'), id: 'format', type: 'menu', menu: [
 				{uno: '.uno:ResetAttributes'},
 				{uno: '.uno:FormatCellDialog'},
 				{uno: '.uno:PageFormatDialog'}


More information about the Libreoffice-commits mailing list