[Libreoffice-commits] online.git: loleaflet/src

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 18 20:05:35 UTC 2019


 loleaflet/src/control/Control.ContextMenu.js |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 72cb0ee256eb3bce1d91001043be656e0503af89
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed Dec 18 20:04:39 2019 +0000
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed Dec 18 20:04:39 2019 +0000

    phone: disable various unhelpful calc dialogs / bits.
    
    Pixel format/cell dialog is unwanted, notes cannot be shown as of now.
    
    Change-Id: I3e14504df585637f3835b9a3be1d14c670c0bc45

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' ]
 	},
 
 


More information about the Libreoffice-commits mailing list