mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-26 17:16:07 +08:00
addAttachmentHelper(url,..) the url
should be id
This commit is contained in:
parent
364947d1f9
commit
14bd9720e9
1 changed files with 3 additions and 3 deletions
|
@ -1222,13 +1222,13 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {string} url
|
||||
* @param {string} id
|
||||
* @param {string} name
|
||||
* @param {number} size
|
||||
* @returns {ComposeAttachmentModel}
|
||||
*/
|
||||
addAttachmentHelper(url, name, size) {
|
||||
const attachment = new ComposeAttachmentModel(url, name, size);
|
||||
addAttachmentHelper(id, name, size) {
|
||||
const attachment = new ComposeAttachmentModel(id, name, size);
|
||||
this.addAttachment(attachment, 1);
|
||||
return attachment;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue