summaryrefslogtreecommitdiff
path: root/web-ui/app/js/services
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-08-14 15:16:56 -0300
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2014-08-14 15:19:46 -0300
commitdde0dc6bb735cebe946c6fd8c5d7c8cfd6028cc8 (patch)
treeca5282488b85467d4fb0ae16b853611bc23422c6 /web-ui/app/js/services
parent5b1ad127f11519f519f75be9148d17d4e034b1e6 (diff)
Enable fake server to correctly serve html emails
Diffstat (limited to 'web-ui/app/js/services')
-rw-r--r--web-ui/app/js/services/model/mail.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/services/model/mail.js b/web-ui/app/js/services/model/mail.js
index 6f99465e..0c04d62e 100644
--- a/web-ui/app/js/services/model/mail.js
+++ b/web-ui/app/js/services/model/mail.js
@@ -100,7 +100,7 @@ define(['helpers/contenttype'],
};
function getMailMediaType () {
- return new contentType.MediaType(this.header.content_type);
+ return new contentType.MediaType(this.header['Content-Type']);
}
function isMailMultipartAlternative () {