Show size of files even if size not precomputed for attachment

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent 9ba5aaa54d
commit 12b2674bde

@ -71,7 +71,9 @@
},
initialize: function(options) {
this.blob = new Blob([this.model.data], {type: this.model.contentType});
if (!this.model.size) {
this.model.size = this.model.data.byteLength;
}
if (options.timestamp) {
this.timestamp = options.timestamp;
}

Loading…
Cancel
Save