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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Apr 23 05:46:40 UTC 2019


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

New commits:
commit 4f4bcbc9822f749072ebd90854cb01cae80fe512
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Tue Mar 12 11:55:43 2019 -0400
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Apr 23 07:46:22 2019 +0200

    leaflet: do not disable the Close Document menu for read-only docs
    
    Change-Id: I6a52b0bd807ae68ea6bf59e103c004375afae50b
    Reviewed-on: https://gerrit.libreoffice.org/69110
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/71088

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index d0e8c5724..9a005f3f4 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -426,7 +426,7 @@ L.Control.Menubar = L.Control.extend({
 		allowedViewModeActions: [
 			'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', // file menu
+			'downloadas-ods', 'downloadas-xls', 'downloadas-xlsx', 'closedocument', // file menu
 			'fullscreen', 'zoomin', 'zoomout', 'zoomreset', // view menu
 			'about', 'keyboard-shortcuts' // help menu
 		]


More information about the Libreoffice-commits mailing list