Browse Source

publish muk_web_utils - 12.0

pull/68/head
MuK IT GmbH 6 years ago
parent
commit
63de0ee762
  1. 2
      muk_web_utils/__manifest__.py
  2. 2
      muk_web_utils/static/src/js/fields/binary.js
  3. 2
      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.21",
"version": "12.0.2.8.22",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

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

@ -36,7 +36,7 @@ fields.FieldBinaryFile.include({
}).done(function(result) { }).done(function(result) {
this.max_upload_size = result.max_upload_size * 1024 * 1024; this.max_upload_size = result.max_upload_size * 1024 * 1024;
}.bind(this)); }.bind(this));
return $.when(this._super.apply(this, arguments), def);
return this._super.apply(this, arguments);
}, },
_renderReadonly: function () { _renderReadonly: function () {
this._super.apply(this, arguments); this._super.apply(this, arguments);

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

@ -50,7 +50,7 @@ fields.FieldBinaryImage.include({
}).done(function(result) { }).done(function(result) {
this.max_upload_size = result.max_upload_size * 1024 * 1024; this.max_upload_size = result.max_upload_size * 1024 * 1024;
}.bind(this)); }.bind(this));
return $.when(this._super.apply(this, arguments), def);
return this._super.apply(this, arguments);
}, },
_render: function () { _render: function () {
this._super.apply(this, arguments); this._super.apply(this, arguments);

Loading…
Cancel
Save