From 3064cdd3712d2014b0e340dc04faa1efa34b209d Mon Sep 17 00:00:00 2001 From: benji <38424890+moserben16@users.noreply.github.com> Date: Wed, 9 Oct 2019 14:24:45 +0200 Subject: Update attachments.js added else condition to check if MAX_IMAGE_PIXEL is not set, so that it is possible to upload attachments using drag-and-drop or Ctrl+V without setting the environmental-variable. If this change is not allowed, please document in the wiki, that this is necessary for a fully-running wekan-instance --- client/components/cards/attachments.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/components/cards/attachments.js') diff --git a/client/components/cards/attachments.js b/client/components/cards/attachments.js index 843f1eb7..59f173c9 100644 --- a/client/components/cards/attachments.js +++ b/client/components/cards/attachments.js @@ -131,6 +131,8 @@ Template.previewClipboardImagePopup.onRendered(() => { direct(results); }, }); + } else { + direct(results); } } }; -- cgit v1.2.3-1-g7c22