diff --git a/muk_web_branding/__manifest__.py b/muk_web_branding/__manifest__.py index 4c113cf..6e0372d 100644 --- a/muk_web_branding/__manifest__.py +++ b/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", diff --git a/muk_web_branding/static/src/js/chrome/bus.js b/muk_web_branding/static/src/js/chrome/bus.js index f49a0c1..33a5d77 100644 --- a/muk_web_branding/static/src/js/chrome/bus.js +++ b/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 }, });