From 92a01051b0af9889a1adc6759e59f6e42a90883f Mon Sep 17 00:00:00 2001 From: Jonas Date: Wed, 12 Jul 2023 09:49:30 +0200 Subject: [PATCH 1/3] chore(frontend): Use `OC.appswebroots` instead of `oc_appswebroots` Signed-off-by: Jonas --- src/helpers/mime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/mime.js b/src/helpers/mime.js index b79a8508674..ce938125e39 100644 --- a/src/helpers/mime.js +++ b/src/helpers/mime.js @@ -61,7 +61,7 @@ const openMimetypesPlainText = [ 'text/x-shellscript', ] -if (!window.oc_appswebroots?.richdocuments && !window.oc_appswebroots?.onlyoffice) { +if (!OC.appswebroots?.richdocuments && !OC.appswebroots?.onlyoffice) { openMimetypesPlainText.push('text/csv') } From 360691ad6a0a1d252ac58b5d85a3b8e75a088631 Mon Sep 17 00:00:00 2001 From: Jonas Date: Wed, 12 Jul 2023 10:09:36 +0200 Subject: [PATCH 2/3] fix(a11y): Set `aria-label` for status button Signed-off-by: Jonas --- src/components/Editor/Status.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Editor/Status.vue b/src/components/Editor/Status.vue index af68b2f16c6..18393fadd82 100644 --- a/src/components/Editor/Status.vue +++ b/src/components/Editor/Status.vue @@ -24,6 +24,7 @@