loleaflet/src/control/Permission.js | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit cee52939e56d1899560bee02fb8eca04aa7246b7 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Tue Mar 12 10:24:13 2019 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Tue Mar 12 10:25:35 2019 +0100 Send init commands after mobile is switched to edit mode diff --git a/loleaflet/src/control/Permission.js b/loleaflet/src/control/Permission.js index 76c1ff7b2..37ad81a05 100644 --- a/loleaflet/src/control/Permission.js +++ b/loleaflet/src/control/Permission.js @@ -36,6 +36,9 @@ L.Map.include({ }, _enterEditMode: function (perm) { + if (this._permission == 'readonly' && L.Browser.mobile) { + this.sendInitUNOCommands(); + } this._permission = perm; this._socket.sendMessage('requestloksession'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits