From 5f59773e55f53aad584ccc49eb917c1f6dcdf475 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 24 Jun 2015 13:37:02 +0200 Subject: [PATCH] Fixed rendering of activity stream. --- .../app/controllers/_dashboard/activity_stream.js.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee b/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee index 268a13cae..7e49d6792 100644 --- a/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee +++ b/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee @@ -44,10 +44,11 @@ class App.DashboardActivityStream extends App.Controller items = @prepareForObjectList(items) - html = $('
') + html = $('
') for item in items html.append( @renderItem(item) ) + @$('.activity-entries').remove() @el.append html # update time