[Libreoffice-commits] online.git: loleaflet/src
Pedro Pinto Silva (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 15 08:28:06 UTC 2020
loleaflet/src/control/Control.Menubar.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 661852ab6fec9c873dfee383d6f08b020223155d
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 10:27:47 2020 +0200
Mobile: Menu bar: Fix absent document-header on read-only documents
Change-Id: Icd23f8236cfd7d72335b0cc295d62fb979090512
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102679
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 bcd427865..68997aae5 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -876,11 +876,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