diff options
Diffstat (limited to 'addons/web/static/src/js/services/notification_service.js')
| -rw-r--r-- | addons/web/static/src/js/services/notification_service.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/services/notification_service.js b/addons/web/static/src/js/services/notification_service.js index 7d6ad473fe4..bbeeca51bb8 100644 --- a/addons/web/static/src/js/services/notification_service.js +++ b/addons/web/static/src/js/services/notification_service.js @@ -71,12 +71,12 @@ var NotificationService = AbstractService.extend({ * @param {string} [params.buttons[0].icon] font-awsome className or image src * @returns {Number} notification id */ - notify: function (options) { + notify: function (params) { if (!this.$el) { this.$el = $('<div class="o_notification_manager"/>'); this.$el.prependTo('body'); } - var notification = this.notifications[++id] = new Notification(this, options); + var notification = this.notifications[++id] = new Notification(this, params); notification.appendTo(this.$el); return id; }, |
