summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-12-18 20:04:39 +0000
committerMichael Meeks <michael.meeks@collabora.com>2019-12-18 20:04:39 +0000
commit72cb0ee256eb3bce1d91001043be656e0503af89 (patch)
tree5f71cfb40f5bc7f788d3fabfffae440ca2c3425c
parenta8a91e43df4f2ea040c57280b67c2e78eeb544cf (diff)
phone: disable various unhelpful calc dialogs / bits.
Pixel format/cell dialog is unwanted, notes cannot be shown as of now. Change-Id: I3e14504df585637f3835b9a3be1d14c670c0bc45
-rw-r--r--loleaflet/src/control/Control.ContextMenu.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.ContextMenu.js b/loleaflet/src/control/Control.ContextMenu.js
index 137300e13..954dab877 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -60,7 +60,9 @@ L.Control.ContextMenu = L.Control.extend({
// This black list contains those menu items which should be disabled on mobile even if they
// are allowed in general. We need to have only those items here which are also part
// of the whitelist, otherwise the menu items are not visible anyway.
- mobileBlackList: ['SpellingAndGrammarDialog', 'FontDialog', 'FontDialogForParagraph', 'TransformDialog', 'FormatLine', 'FormatArea']
+ mobileBlackList: ['SpellingAndGrammarDialog', 'FontDialog', 'FontDialogForParagraph',
+ 'TransformDialog', 'FormatLine', 'FormatArea',
+ 'FormatCellDialog', 'ShowNote', 'DeleteNote' ]
},