Add mobile version to webmail and improvements

This commit is contained in:
Francis Lachapelle committed 2014-11-27 08:59:29 -05:00
1 parent 7645e8e721
commit 4ea428d585
9 files changed
+327 -27

No files matched your search

@@ -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) {