Add mobile version to webmail and improvements

This commit is contained in:
Francis Lachapelle
2014-11-27 08:59:29 -05:00
parent 7645e8e721
commit 4ea428d585
9 changed files with 327 additions and 27 deletions
@@ -101,6 +101,15 @@
Message.$timeout(function() {
angular.extend(_this, data);
_this.id = _this.$absolutePath();
// Build long representation of email addresses
_.each(['from', 'to', 'cc', 'bcc', 'replyTo'], function(type) {
_.each(_this[type + 'Addresses'], function(data, i) {
if (data.name != data.address)
data.full = data.name + ' <' + data.address + '>';
else
data.full = '<' + data.address + '>';
});
});
deferred.resolve(_this.content);
});
}, function(data) {