Full support for message attachments
This commit is contained in:
parent
bfc6983c93
commit
35bce32529
6 changed files with 229 additions and 106 deletions
|
@ -828,7 +828,7 @@ router.post('/attachment/download', passport.parseForm, passport.csrfProtection,
|
|||
req.flash('danger', err && err.message || err);
|
||||
return res.redirect('/campaigns/edit/' + campaign.id + '?tab=attachments');
|
||||
} else if (!attachment) {
|
||||
req.flash('success', 'Attachment uploaded');
|
||||
req.flash('warning', 'Attachment not found');
|
||||
return res.redirect('/campaigns/edit/' + campaign.id + '?tab=attachments');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue