From 202f0529f91e3eec0a97d34f1d2b710431de786a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Aug 2014 16:28:43 +0200 Subject: [PATCH] Clear collection of notifications. --- .../app/controllers/widget/online_notification.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/widget/online_notification.js.coffee b/app/assets/javascripts/app/controllers/widget/online_notification.js.coffee index 669e83f57..902dec6c5 100644 --- a/app/assets/javascripts/app/controllers/widget/online_notification.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/online_notification.js.coffee @@ -80,6 +80,6 @@ class App.OnlineNotificationWidget extends App.Controller fetch: => load = (items) => - App.OnlineNotification.refresh(items) + App.OnlineNotification.refresh( items, { clear: true } ) @start() App.OnlineNotification.fetchFull(load) \ No newline at end of file