Add support for attachment file names
Send, receive, and save attachment filenames. Use them as suggested names when saving files. // FREEBIE
This commit is contained in:
@@ -91,6 +91,10 @@
|
||||
}
|
||||
},
|
||||
suggestedName: function() {
|
||||
if (this.model.fileName) {
|
||||
return this.model.fileName;
|
||||
}
|
||||
|
||||
var suggestion = 'signal';
|
||||
if (this.timestamp) {
|
||||
suggestion += moment(this.timestamp).format('-YYYY-MM-DD-HHmmss');
|
||||
|
Reference in New Issue
Block a user