From d414e50a0e82e8babede484870edf68f9cde0ca6 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Mon, 4 Mar 2019 16:03:23 +0000 Subject: [PATCH] publish muk_web_preview - 12.0 --- muk_web_preview/__manifest__.py | 2 +- muk_web_preview/static/src/js/fields/binary.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/muk_web_preview/__manifest__.py b/muk_web_preview/__manifest__.py index 3ac31f3..85f5d2d 100644 --- a/muk_web_preview/__manifest__.py +++ b/muk_web_preview/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Preview", "summary": """File Preview Dialog""", - "version": "12.0.2.3.1", + "version": "12.0.2.3.2", "category": "Extra Tools", "license": "AGPL-3", "website": "http://www.mukit.at", diff --git a/muk_web_preview/static/src/js/fields/binary.js b/muk_web_preview/static/src/js/fields/binary.js index 5fff85a..795f36c 100644 --- a/muk_web_preview/static/src/js/fields/binary.js +++ b/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')); }, + on_save_as: function (event) { + event.stopPropagation(); + }, }); registry.add('binary_preview', FieldBinaryPreview);