loleaflet/src/control/Control.Menubar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 0a150a88349d010a889b3f753795d86b62c56954 Author: Aron Budea <[email protected]> AuthorDate: Thu Aug 22 11:58:46 2019 +0200 Commit: Andras Timar <[email protected]> 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 <[email protected]> Tested-by: Andras Timar <[email protected]> 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'} _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
