From 30df4b50481c30aad955e55db53226ccf313f5d6 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Thu, 11 Oct 2018 12:15:20 +0200 Subject: [PATCH] [FIX] web_notify: function declaration Resolving https://github.com/OCA/web/issues/1072 --- web_notify/static/src/js/notification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_notify/static/src/js/notification.js b/web_notify/static/src/js/notification.js index 38cb87ae..fa1f9a25 100644 --- a/web_notify/static/src/js/notification.js +++ b/web_notify/static/src/js/notification.js @@ -40,10 +40,10 @@ odoo.define('web_notify.notification', function (require) { }); base_notification.NotificationManager.include({ - interactive_notify(title, text, options) { + interactive_notify: function (title, text, options) { return this.display(new InteractiveNotification(this, title, text, options)); }, - interactive_warn(title, text, options) { + interactive_warn: function (title, text, options) { return this.display(new InteractiveWarning(this, title, text, options)); }