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

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 15 14:18:17 UTC 2020


 loleaflet/src/control/Control.Menubar.js |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit f29a261ba8e3fa28973bb5660fe90583deb52724
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Mon Sep 14 16:03:10 2020 +0200
Commit:     Pedro Silva <pedro.silva at collabora.com>
CommitDate: Tue Sep 15 16:17:58 2020 +0200

    Mobile: Menu bar: Fix absent document-header on read-only documents
    
    Change-Id: Icd23f8236cfd7d72335b0cc295d62fb979090512
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102645
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Pedro Silva <pedro.silva at collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 2800a800f..a97ba8430 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -854,11 +854,8 @@ L.Control.Menubar = L.Control.extend({
 		});
 		$('#main-menu').attr('tabindex', 0);
 
-		// The _createFileIcon function shows the Collabora logo in the iOS app case, no
-		// need to delay that until the document has been made editable.
-		if (window.ThisIsTheiOSApp || !this._map.isPermissionReadOnly()) {
-			this._createFileIcon();
-		}
+
+		this._createFileIcon();
 	},
 
 	_onStyleMenu: function (e) {


More information about the Libreoffice-commits mailing list