mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_notify: function declaration
Resolving https://github.com/OCA/web/issues/1072
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user