Compare commits

...

1 Commits

Author SHA1 Message Date
Nicolas JEUDY b586297959 [FIX] preview in list view 5 years ago
  1. 2
      muk_web_preview/static/src/js/fields/binary.js

2
muk_web_preview/static/src/js/fields/binary.js

@ -58,7 +58,7 @@ fields.FieldBinaryFile.include({
var binary_url = session.url('/web/content', { var binary_url = session.url('/web/content', {
model: this.model, model: this.model,
id: JSON.stringify(this.res_id), id: JSON.stringify(this.res_id),
data: utils.is_bin_size(this.value) ? null : this.value,
data: null,
unique: unique ? unique.replace(/[^0-9]/g, '') : null, unique: unique ? unique.replace(/[^0-9]/g, '') : null,
filename_field: filename_fieldname, filename_field: filename_fieldname,
filename: filename, filename: filename,

Loading…
Cancel
Save