diff --git a/js/views/attachment_view.js b/js/views/attachment_view.js index 3c4d3ca11..5c4d135c7 100644 --- a/js/views/attachment_view.js +++ b/js/views/attachment_view.js @@ -197,7 +197,7 @@ if (!this.objectUrl) { this.objectUrl = window.URL.createObjectURL(this.blob); } - this.view = new View(this.objectUrl, this.model.contentType); + this.view = new View(this.objectUrl, this.model.contentType, this.blob); this.view.$el.appendTo(this.$el); this.listenTo(this.view, 'update', this.update); this.view.render();