mirror of
https://github.com/moparisthebest/mailcatcher
synced 2025-01-10 05:08:22 -05:00
Fix download button
This commit is contained in:
parent
559452ecc1
commit
e22d6766e3
@ -86,7 +86,7 @@ class MailCatcher
|
|||||||
else
|
else
|
||||||
$('#message .metadata .attachments').hide()
|
$('#message .metadata .attachments').hide()
|
||||||
|
|
||||||
$('#message .actions .download a').attr 'href', "/messages/#{id}.eml"
|
$('#message .views .download a').attr 'href', "/messages/#{id}.eml"
|
||||||
|
|
||||||
@loadMessageBody()
|
@loadMessageBody()
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
} else {
|
} else {
|
||||||
$('#message .metadata .attachments').hide();
|
$('#message .metadata .attachments').hide();
|
||||||
}
|
}
|
||||||
$('#message .actions .download a').attr('href', "/messages/" + id + ".eml");
|
$('#message .views .download a').attr('href', "/messages/" + id + ".eml");
|
||||||
return this.loadMessageBody();
|
return this.loadMessageBody();
|
||||||
}, this));
|
}, this));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user