fix(mail(js)): use message subject as filename of .eml
parent
05ad7a8d6d
commit
792d96b361
|
@ -915,7 +915,10 @@
|
|||
* @returns a promise of the HTTP operation
|
||||
*/
|
||||
Message.prototype.download = function() {
|
||||
return Message.$$resource.download(this.$absolutePath(), 'export');
|
||||
var options;
|
||||
|
||||
options = { filename: this.subject + '.eml' };
|
||||
return Message.$$resource.download(this.$absolutePath(), 'export', undefined, options);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue