[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Apr 12 12:57:05 UTC 2019
loleaflet/src/control/Control.Menubar.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 3ce7998e19e6419b036ca8a6d52e4b3cdf28e6d3
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Apr 12 15:50:27 2019 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Apr 12 15:50:27 2019 +0300
tdf#124448: Don't show the 'Download as' menu entry on mobile apps
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index f15feb928..d90e3fb79 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -21,7 +21,7 @@ L.Control.Menubar = L.Control.extend({
{name: _('Share...'), id:'shareas', type: 'action'},
{name: _UNO('.uno:Print', 'text'), id: 'print', type: 'action'},
{name: _('See revision history'), id: 'rev-history', type: 'action'},
- {name: _('Download as'), id: 'downloadas', type: 'menu', menu: [
+ {name: _('Download as'), id: 'downloadas', type: 'menu', mobileapp: false, menu: [
{name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'},
{name: _('ODF text document (.odt)'), id: 'downloadas-odt', type: 'action'},
{name: _('Word 2003 Document (.doc)'), id: 'downloadas-doc', type: 'action'},
@@ -238,7 +238,7 @@ L.Control.Menubar = L.Control.extend({
{name: _('Share...'), id:'shareas', type: 'action'},
{name: _UNO('.uno:Print', 'presentation'), id: 'print', type: 'action'},
{name: _('See revision history'), id: 'rev-history', type: 'action'},
- {name: _('Download as'), id: 'downloadas', type: 'menu', menu: [
+ {name: _('Download as'), id: 'downloadas', type: 'menu', mobileapp: false, menu: [
{name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'},
{name: _('ODF presentation (.odp)'), id: 'downloadas-odp', type: 'action'},
{name: _('PowerPoint 2003 Presentation (.ppt)'), id: 'downloadas-ppt', type: 'action'},
@@ -326,7 +326,7 @@ L.Control.Menubar = L.Control.extend({
{name: _('Share...'), id:'shareas', type: 'action'},
{name: _UNO('.uno:Print', 'spreadsheet'), id: 'print', type: 'action'},
{name: _('See revision history'), id: 'rev-history', type: 'action'},
- {name: _('Download as'), id:'downloadas', type: 'menu', menu: [
+ {name: _('Download as'), id:'downloadas', type: 'menu', mobileapp: false, menu: [
{name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'},
{name: _('ODF spreadsheet (.ods)'), id: 'downloadas-ods', type: 'action'},
{name: _('Excel 2003 Spreadsheet (.xls)'), id: 'downloadas-xls', type: 'action'},
More information about the Libreoffice-commits
mailing list