[Libreoffice-commits] online.git: Branch 'feature/jsdialogs' - loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 25 14:33:08 UTC 2019
loleaflet/src/layer/tile/TileLayer.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 2f848c0d41432b36e554d4b56aeb6525e3a36cc8
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Sep 25 16:32:39 2019 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Sep 25 16:32:39 2019 +0200
jsdialog: show on all platforms temporary
Change-Id: Icbbdf7b8eac46e617d9a09f0f6f5852adcd8f98c
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index e2329bf5e..9b13491f5 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -713,10 +713,9 @@ L.TileLayer = L.GridLayer.extend({
},
_onJSDialogMsg: function (textMsg) {
- if (window.mode.isMobile()) {
- var msgData = JSON.parse(textMsg.substring('jsdialog:'.length + 1));
- this._openMobileWizard(msgData);
- }
+ // TODO: mobile only
+ var msgData = JSON.parse(textMsg.substring('jsdialog:'.length + 1));
+ this._openMobileWizard(msgData);
},
_onGraphicSelectionMsg: function (textMsg) {
More information about the Libreoffice-commits
mailing list