mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 23:51:48 +01:00
Merge branch 'feature/manual-attachments-activities' of https://github.com/GhassenRjab/wekan into GhassenRjab-feature/manual-attachments-activities
This commit is contained in:
commit
17cf8ded07
4 changed files with 80 additions and 65 deletions
|
|
@ -62,7 +62,7 @@ Template.cardAttachmentsPopup.events({
|
|||
const file = new FS.File(f);
|
||||
file.boardId = card.boardId;
|
||||
file.cardId = card._id;
|
||||
|
||||
file.userId = Meteor.userId();
|
||||
Attachments.insert(file);
|
||||
Popup.close();
|
||||
});
|
||||
|
|
@ -109,6 +109,7 @@ Template.previewClipboardImagePopup.events({
|
|||
file.updatedAt(new Date());
|
||||
file.boardId = card.boardId;
|
||||
file.cardId = card._id;
|
||||
file.userId = Meteor.userId();
|
||||
Attachments.insert(file);
|
||||
pastedResults = null;
|
||||
$(document.body).pasteImageReader(() => {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue