loleaflet/src/control/Control.Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c3237432d919b6bb65d0f4c9c957dd1254f250a2 Author: Tor Lillqvist <[email protected]> AuthorDate: Fri Dec 13 13:17:06 2019 +0200 Commit: Tor Lillqvist <[email protected]> CommitDate: Fri Dec 13 13:46:28 2019 +0100 The uppercase SAVE thing is Android-only (See c6f36965cfc1bd68fdb88b01d493163b5d176bcc.) Avoid a mysterious and extremely misleading pop-up in the iOS app saying "The server encountered a unknown error while parsing the SAVE command". Change-Id: Ia9047f7dfa038864f3994002b42979062f0174d4 Reviewed-on: https://gerrit.libreoffice.org/85105 Reviewed-by: Tor Lillqvist <[email protected]> Tested-by: Tor Lillqvist <[email protected]> diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js index 7c5586c3f..2cb0b5289 100644 --- a/loleaflet/src/control/Control.Toolbar.js +++ b/loleaflet/src/control/Control.Toolbar.js @@ -2149,7 +2149,7 @@ function onCommandResult(e) { postMessageObj['result'] = e.result && e.result.value; } - if (window.ThisIsAMobileApp) { + if (window.ThisIsTheAndroidApp) { window.postMobileMessage('SAVE ' + JSON.stringify(postMessageObj)); } else { map.fire('postMessage', {msgId: 'Action_Save_Resp', args: postMessageObj}); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
