summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/widgets/notification.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/notification.js b/addons/web/static/src/js/widgets/notification.js
index 314034ef748..e6d26265161 100644
--- a/addons/web/static/src/js/widgets/notification.js
+++ b/addons/web/static/src/js/widgets/notification.js
@@ -54,7 +54,8 @@ var NotificationManager = Widget.extend({
className: 'o_notification_manager',
display: function(notification) {
- return notification.appendTo(this.$el);
+ notification.appendTo(this.$el);
+ return notification;
},
notify: function(title, text, sticky) {
return this.display(new Notification(this, title, text, sticky));