mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
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
This commit is contained in:
parent
417fed8605
commit
3064cdd371
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ Template.previewClipboardImagePopup.onRendered(() => {
|
|||
direct(results);
|
||||
},
|
||||
});
|
||||
} else {
|
||||
direct(results);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue