Browse Source

publish muk_web_utils - 12.0

pull/68/head
MuK IT GmbH 5 years ago
parent
commit
4be866d498
  1. 2
      muk_web_utils/__manifest__.py
  2. 1
      muk_web_utils/static/src/js/fields/image.js

2
muk_web_utils/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Web Utils", "name": "MuK Web Utils",
"summary": """Utility Features""", "summary": """Utility Features""",
"version": "12.0.2.8.15",
"version": "12.0.2.8.16",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

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

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

Loading…
Cancel
Save