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 <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Tor Lillqvist 2019-12-13 13:17:06 +02:00
parent 21102496b7
commit c3237432d9

View file

@ -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});