summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-05-22 10:07:10 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-05-22 10:21:26 +0200
commit97a0a765abe5a1a8cc92eeb5f54bee1982f448ab (patch)
tree258889723b9f12bb5d9d1c2f90736388b1a3f282
parent287b70a50408d260f3c6c0d5306c081a40eea280 (diff)
Move insert table entry in menubar
Change-Id: I80b8164685cf45a01e26c7a2b58b800262fe080b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94659 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r--loleaflet/src/control/Control.Menubar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 62b54ef35..9fd947eec 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -77,7 +77,6 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphicremote', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'},
{uno: '.uno:InsertObjectChart'},
- {uno: '.uno:InsertTable'},
{type: 'separator'},
{uno: '.uno:InsertSection', id: 'insertsection'},
{name: _UNO('.uno:InsertField', 'text'), type: 'menu', menu: [
@@ -202,6 +201,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:ResetAttributes'}
]},
{name: _UNO('.uno:TableMenu', 'text'), type: 'menu', menu: [
+ {uno: '.uno:InsertTable'},
{name: _UNO('.uno:TableInsertMenu', 'text'), type: 'menu', menu: [
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},
@@ -297,7 +297,6 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:SelectBackground', 'presentation'), id: 'selectbackground', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'presentation'), id: 'insertcomment', type: 'action'},
{uno: '.uno:InsertObjectChart'},
- {uno: '.uno:InsertTable'},
{type: 'separator'},
{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
{type: 'separator'},
@@ -328,6 +327,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:OutlineBullet'}]
},
{name: _UNO('.uno:TableMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
+ {name: _UNO('.uno:InsertTable', 'text'), uno: '.uno:InsertTable'},
{name: _UNO('.uno:TableInsertMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},