Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-09-15 08:37:27 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-09-15 08:38:54 +0300
commita79125a983e635037a9abc5ffecd886b6b62a0a1 (patch)
tree6fa07983598cd0b5a025d080e2aab98b77dc4f0f /src
parent2956994bc808c27039ccc5dbdc2c0cd8fbccbc14 (diff)
Fix platform mismatch error message
There was a logic error which would cause the not_aarch64 error message never being triggered in case of not_linux error Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/document.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/document.js b/src/document.js
index 63640e6b..488a8e61 100644
--- a/src/document.js
+++ b/src/document.js
@@ -38,10 +38,8 @@ const checkProxyStatus = () => {
document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: Unable to make the AppImage executable, please setup a standalone server.')
} else if (val.error === 'exec_disabled') {
document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: Exec disabled in PHP, please enable it, or setup a standalone server.')
- } else if (val.error === 'not_linux' || val.error === 'not_x86_64') {
- document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: Not running on x86-64 Linux, please setup a standalone server or the correct version of Collabora Online Built-in server for your platform.')
- } else if (val.error === 'not_linux' || val.error === 'not_aarch64') {
- document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: Not running on ARM64 Linux, please setup a standalone server or the correct version of Collabora Online Built-in server for your platform.')
+ } else if (val.error === 'not_linux' || val.error === 'not_x86_64' || val.error === 'not_aarch64') {
+ document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: Not running on x86-64 or ARM64 (aarch64) Linux, please setup a standalone server.')
} else if (val.error === 'no_fontconfig') {
document.getElementById('proxyLoadingMessage').textContent = t('richdocuments', 'Error: The fontconfig library is not installed on your server, please install it or setup a standalone server.')
} else if (val.error === 'no_glibc') {