3
0
Fork 0

[FIX] web_notify: function declaration

Resolving https://github.com/OCA/web/issues/1072
10.0
Simone Rubino 2018-10-11 12:15:20 +02:00 committed by GitHub
parent 9ac932fc5d
commit 30df4b5048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ odoo.define('web_notify.notification', function (require) {
}); });
base_notification.NotificationManager.include({ base_notification.NotificationManager.include({
interactive_notify(title, text, options) { interactive_notify: function (title, text, options) {
return this.display(new InteractiveNotification(this, 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)); return this.display(new InteractiveWarning(this, title, text, options));
} }