[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/src

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


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

New commits:
commit ce18e7b50a3498dc26b032605529d0f5922ca37e
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:27:46 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/73039
    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 35e0e1d97..02c44ad97 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -437,6 +437,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