Browse Source

regression error from last commit.

without this commit every image that you upload is added to the old one
until saved.
pull/62/head
cfs 5 years ago
parent
commit
6b53accb2b
  1. 1
      muk_web_utils/static/src/js/fields/image.js

1
muk_web_utils/static/src/js/fields/image.js

@ -54,6 +54,7 @@ fields.FieldBinaryImage.include({
},
_render: function () {
this._super.apply(this, arguments);
this.$('.mk_field_image_wrapper').remove();
this.$('img').wrap($('<div/>', {
class: "mk_field_image_wrapper"
}));

Loading…
Cancel
Save