Browse Source

[FIX] preview in list view

12.0-improve_muk_web_preview_list_view
Nicolas JEUDY 5 years ago
committed by default
parent
commit
b586297959
  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', {
model: this.model,
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,
filename_field: filename_fieldname,
filename: filename,

Loading…
Cancel
Save