Mathias Markl 7 years ago
parent
commit
294d97fcbc
  1. 2
      muk_web_share/__manifest__.py
  2. 2
      muk_web_share/static/src/js/share_button.js

2
muk_web_share/__manifest__.py

@ -28,7 +28,7 @@
can be shared with another user. On mobile devices, can be shared with another user. On mobile devices,
the link of the form can be posted to Whatsapp. the link of the form can be posted to Whatsapp.
""", """,
"version": "11.0.1.0.3",
"version": "11.0.1.0.4",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "website": "http://www.mukit.at",

2
muk_web_share/static/src/js/share_button.js

@ -44,7 +44,9 @@ FormRenderer.include({
var self = this; var self = this;
var _super = this._super.apply(this, arguments); var _super = this._super.apply(this, arguments);
_super.then(function() { _super.then(function() {
if(self.mode === 'readonly') {
self._renderShareButton(); self._renderShareButton();
}
}); });
return _super; return _super;
}, },

Loading…
Cancel
Save