Browse Source

publish muk_web_preview - 12.0

pull/68/head
MuK IT GmbH 6 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", "name": "MuK Preview",
"summary": """File Preview Dialog""", "summary": """File Preview Dialog""",
"version": "12.0.2.3.5",
"version": "12.0.2.3.6",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "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.mimetype = mimetype || "application/octet-stream";
this.filename = filename || "Unknown"; this.filename = filename || "Unknown";
this.url = url; this.url = url;
},
willStart: function() {
return $.when(
this._super.apply(this, arguments),
ajax.loadLibs(this)
);
}, },
start: function () { start: function () {
return $.when( return $.when(

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

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