summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-08-28 08:37:55 +0200
committerAndras Timar <andras.timar@collabora.com>2020-08-28 12:06:16 +0200
commit5f90ab70e95a036ef13edd1a4062b3f91c013c0c (patch)
treecfbf35720f3be586bc56814588a8257b46f6ce62
parentleaflet: use vex dialog to modify comments in calc mobile (diff)
downloadonline-5f90ab70e95a036ef13edd1a4062b3f91c013c0c.tar.gz
online-5f90ab70e95a036ef13edd1a4062b3f91c013c0c.zip
Revert "Disable insert comment on spreadsheet for mobile"
This reverts commit 0cc4977abdbb0225c8c1a5f59b5bc00891463775. Reason for revert: after Pranam's fixes viewing/hiding/modifying comments work as expected, therefore we can have this option back. Change-Id: I299f33552ae26d29ea2078c286bc5c785ebdb7a9 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101463 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--loleaflet/src/control/Control.Menubar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 4fe7ba101e..92d84430b6 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -693,6 +693,7 @@ L.Control.Menubar = L.Control.extend({
{name: _('Local Image...'), id: 'insertgraphic', type: 'action'},
{name: _UNO('.uno:InsertGraphic', 'spreadsheet'), id: 'insertgraphicremote', type: 'action'},
{uno: '.uno:InsertObjectChart'},
+ {name: _UNO('.uno:InsertAnnotation', 'spreadsheet'), id: 'insertcomment', type: 'action'},
{type: 'separator'},
{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
{name: _UNO('.uno:ShapesMenu'), id: 'insertshape', type: 'action'},