| commit | 232fdf5dcbc0c8f5b46a52353796f44cb34eca4b | [log] |
|---|---|---|
| author | Tor Lillqvist <tml@collabora.com> | Mon Aug 19 18:41:55 2019 +0300 |
| committer | Tor Lillqvist <tml@collabora.com> | Tue Aug 20 10:54:29 2019 +0200 |
| tree | 000f263889b8e147c140c6a3c3cea89cb014e921 | |
| parent | a91025e998e1835947b6bc2da5b26350c6dc886b [diff] |
tdf#126972: The "file icon" button in the menubar is useless in the iOS app In "real" Online, in a WOPI environment, it does something useful. But not in the iOS app. So no need to have it at all. Change-Id: I87a6b7badcba2899f850a1e15eae591e9ed8895c Reviewed-on: https://gerrit.libreoffice.org/77742 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit c5d6c7dd402da6987cd01f3c0759b28b3503d85c) Reviewed-on: https://gerrit.libreoffice.org/77788
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 3a845f9..41120cf 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js
@@ -560,7 +560,7 @@ L.Control.Menubar = L.Control.extend({ }); $('#main-menu').attr('tabindex', 0); if (this._map._permission !== 'readonly') { if (!window.ThisIsTheiOSApp && this._map._permission !== 'readonly') { this._createFileIcon(); } },