Skip to content
Snippets Groups Projects
Unverified Commit 27021cb5 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

also use the new collection when refreshing

parent 73d4c45e
No related branches found
No related tags found
No related merge requests found
......@@ -168,11 +168,6 @@ define(function(require) {
});
$.when(loadingMessages).done(function(jsondata) {
if (reload) {
_this.collection.reset();
}
// Add messages
_this.collection.add(jsondata);
Radio.ui.trigger('messagesview:message:setactive', require('state').currentMessageId);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment