Fix usage of data in Field.get_data

Field.get_data returns directly the data.
This commit is contained in:
Cédric Krier committed 2015-12-27 19:23:22 +01:00
1 parent 315cf31310
commit 8e2791ef0f
1 file changed
+1 -1
+1 -1
View File
@@ -2827,7 +2827,7 @@
var field = this.field();
var record = this.record();
field.get_data(record).done(function(data) {
var blob = new Blob([data[0].binary],
var blob = new Blob([data],
{type: 'application/octet-binary'});
var blob_url = window.URL.createObjectURL(blob);
if (this.blob_url) {