Fix download button

This commit is contained in:
Samuel Cochran 2011-06-10 20:47:38 +08:00
parent 559452ecc1
commit e22d6766e3
2 changed files with 19 additions and 19 deletions

View File

@ -86,7 +86,7 @@ class MailCatcher
else
$('#message .metadata .attachments').hide()
$('#message .actions .download a').attr 'href', "/messages/#{id}.eml"
$('#message .views .download a').attr 'href', "/messages/#{id}.eml"
@loadMessageBody()

View File

@ -99,7 +99,7 @@
} else {
$('#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();
}, this));
}