Merge pull request #1073 from SimoRubi/patch-1

[10.0][FIX] web_notify: function declaration
This commit is contained in:
Pedro M. Baeza
2018-10-11 12:34:48 +02:00
committed by GitHub

View File

@@ -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));
}