Browse Source
Merge pull request #1073 from SimoRubi/patch-1
[10.0][FIX] web_notify: function declaration
pull/1078/head
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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)); |
|
|
|
} |
|
|
|
|
|
|
|