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

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 3 17:57:19 UTC 2020


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

New commits:
commit 0e573489d3b2bbfd4e1c6c1d7d438cc4c6b03bf3
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Fri Jul 3 17:24:11 2020 +0530
Commit:     Pranam Lashkari <lpranam at collabora.com>
CommitDate: Fri Jul 3 19:57:01 2020 +0200

    leaflet: allow download as odg in readonly mode(view mdoe)
    
    Change-Id: I5bb1f9288280ffc18beaa893402752291c7d8507
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97845
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpranam at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 960629f5d..c391ea052 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -724,7 +724,7 @@ L.Control.Menubar = L.Control.extend({
 		allowedViewModeActions: [
 			'shareas', 'print', // file menu
 			'downloadas-pdf', 'downloadas-odt', 'downloadas-doc', 'downloadas-docx', 'downloadas-rtf', 'downloadas-epub', // file menu
-			'downloadas-odp', 'downloadas-ppt', 'downloadas-pptx', 'print', // file menu
+			'downloadas-odp', 'downloadas-ppt', 'downloadas-pptx', 'downloadas-odg', 'print', // file menu
 			'downloadas-ods', 'downloadas-xls', 'downloadas-xlsx', 'closedocument', // file menu
 			'fullscreen', 'zoomin', 'zoomout', 'zoomreset', 'showresolved', // view menu
 			'about', 'keyboard-shortcuts', 'latest-updates', 'online-help', 'report-an-issue' // help menu


More information about the Libreoffice-commits mailing list