mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-06 15:33:19 +00:00
Add mobile version to webmail and improvements
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user