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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon May 27 16:28:25 UTC 2019


 loleaflet/src/control/Control.Menubar.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 69518ed92a0abbcd3f6cc3dfc732068c5c422ee4
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Mon May 27 16:00:23 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon May 27 18:28:07 2019 +0200

    Enable the Share and Print buttons even in the View mode.
    
    The user should be able to access these even in the initial View mode on
    Android.
    
    Change-Id: Id0631b7560c1ed0fda5f228f0c621cfa989b4cf7
    Reviewed-on: https://gerrit.libreoffice.org/73038
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index c6eb006ec..5b728654d 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -431,6 +431,7 @@ L.Control.Menubar = L.Control.extend({
 		allowedReadonlyMenus: ['file', 'downloadas', 'view', 'help'],
 
 		allowedViewModeActions: [
+			'shareas', 'print', // file menu
 			'downloadas-pdf', 'downloadas-odt', 'downloadas-doc', 'downloadas-docx', 'downloadas-rtf', // file menu
 			'downloadas-odp', 'downloadas-ppt', 'downloadas-pptx', 'print', // file menu
 			'downloadas-ods', 'downloadas-xls', 'downloadas-xlsx', 'closedocument', // file menu


More information about the Libreoffice-commits mailing list