Browse Source

publish muk_web_preview - 12.0

pull/68/head
MuK IT GmbH 5 years ago
parent
commit
5a5316bda3
  1. 2
      muk_web_preview/__manifest__.py
  2. 6
      muk_web_preview/static/src/js/preview/content.js
  3. 2
      muk_web_preview/static/src/xml/content.xml

2
muk_web_preview/__manifest__.py

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

6
muk_web_preview/static/src/js/preview/content.js

@ -35,6 +35,12 @@ var AbstractPreviewContent = Widget.extend({
this.mimetype = mimetype || "application/octet-stream";
this.filename = filename || "Unknown";
this.url = url;
},
willStart: function() {
return $.when(
this._super.apply(this, arguments),
ajax.loadLibs(this)
);
},
start: function () {
return $.when(

2
muk_web_preview/static/src/xml/content.xml

@ -68,6 +68,4 @@
</t>
</t>
</templates>
Loading…
Cancel
Save