Browse Source

publish muk_web_preview - 12.0

pull/68/head
MuK IT GmbH 6 years ago
parent
commit
d414e50a0e
  1. 2
      muk_web_preview/__manifest__.py
  2. 3
      muk_web_preview/static/src/js/fields/binary.js

2
muk_web_preview/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Preview", "name": "MuK Preview",
"summary": """File Preview Dialog""", "summary": """File Preview Dialog""",
"version": "12.0.2.3.1",
"version": "12.0.2.3.2",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "website": "http://www.mukit.at",

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

@ -114,6 +114,9 @@ var FieldBinaryPreview = fields.FieldBinaryFile.extend({
); );
manager.appendTo(this.$('.mk_field_preview_container')); manager.appendTo(this.$('.mk_field_preview_container'));
}, },
on_save_as: function (event) {
event.stopPropagation();
},
}); });
registry.add('binary_preview', FieldBinaryPreview); registry.add('binary_preview', FieldBinaryPreview);

Loading…
Cancel
Save