Fix usage of data in Field.get_data
Field.get_data returns directly the data.
This commit is contained in:
1 parent
315cf31310
commit
8e2791ef0f
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user