From d0a13bf234d953524efedc31e1f55ec6dd4a33c8 Mon Sep 17 00:00:00 2001 From: Mohamed Amine Krout Date: Mon, 18 Mar 2024 12:32:17 +0100 Subject: [PATCH] TASK-70317: can't edit oform file when creating a request (#361) --- .../attachments-integration/ProcessesAttachments.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue b/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue index 95621fa3c..2677f5b2d 100644 --- a/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue +++ b/processes-webapp/src/main/webapp/vue-app/processes/components/attachments-integration/ProcessesAttachments.vue @@ -56,7 +56,7 @@ along with this program. If not, see . :attachment="attachment" :can-access="attachment.acl && attachment.acl.canAccess" :allow-to-detach="false" - :open-in-editor="!isMobileDevice" + :open-in-editor="true" :is-file-editable="isFileEditable(attachment)" allow-to-preview small-attachment-icon /> @@ -130,9 +130,6 @@ export default { }, attachmentsLength() { return this.attachments && this.attachments.length > 0 ? `(${this.attachments.length})` : ''; - }, - isMobileDevice() { - return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)); } }, created() {