Browse Source

publish muk_web_branding - 12.0

pull/115/head
MuK IT GmbH 6 years ago
parent
commit
0ef395d5bf
  1. 4
      muk_web_branding/__manifest__.py
  2. 16
      muk_web_branding/static/src/js/chrome/bus.js

4
muk_web_branding/__manifest__.py

@ -18,9 +18,9 @@
###################################################################################
{
"name": "MuK Web Branding",
"name": "MuK Web Branding",
"summary": """Branding and Debranding""",
"version": "12.0.1.1.6",
"version": "12.0.1.1.7",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

16
muk_web_branding/static/src/js/chrome/bus.js

@ -36,21 +36,7 @@ BusService.include({
this._super(title, content, callback);
},
_sendNativeNotification: function (title, content, callback) {
var notification = new Notification(title, {
body: content,
icon: '/web/binary/company_logo?company_id=' + session.company_id
});
notification.onclick = function () {
window.focus();
if (this.cancel) {
this.cancel();
} else if (this.close) {
this.close();
}
if (callback) {
callback();
}
};
this.do_notify(title, content); // Android Issue
},
});
Loading…
Cancel
Save