Webmail: add "load images" button to mail viewer

This commit is contained in:
Francis Lachapelle
2015-01-06 15:41:20 -05:00
parent 8a928b8179
commit f6f1e04195
3 changed files with 20 additions and 0 deletions
@@ -131,6 +131,7 @@
* @returns the HTML representation of the body
*/
Message.prototype.$content = function() {
this.hasUnsafeContent = (this.content.indexOf(' unsafe-') > -1);
return Message.$sce.trustAs('html', this.content);
};