Browse Source

publish muk_web_preview_image - 12.0

pull/68/head
MuK IT GmbH 6 years ago
parent
commit
f22464208e
  1. 2
      muk_web_preview_image/__manifest__.py
  2. 3
      muk_web_preview_image/static/src/js/image.js

2
muk_web_preview_image/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Preview Image", "name": "MuK Preview Image",
"summary": """Image Preview""", "summary": """Image Preview""",
"version": "12.0.2.0.1",
"version": "12.0.2.0.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_image/static/src/js/image.js

@ -43,10 +43,11 @@ var PreviewContentImage = AbstractPreviewContent.extend({
], ],
renderPreviewContent: function() { renderPreviewContent: function() {
this.$('img').viewer({ this.$('img').viewer({
inline: true,
backdrop: false,
button: false, button: false,
navbar: false, navbar: false,
title: false, title: false,
inline: true,
toolbar: { toolbar: {
zoomIn: 1, zoomIn: 1,
zoomOut: 1, zoomOut: 1,

Loading…
Cancel
Save