summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/accounts/accountListView.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/views/accounts/accountListView.js')
-rw-r--r--module/web/static/js/views/accounts/accountListView.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/web/static/js/views/accounts/accountListView.js b/module/web/static/js/views/accounts/accountListView.js
index ea01f679e..68dffaa98 100644
--- a/module/web/static/js/views/accounts/accountListView.js
+++ b/module/web/static/js/views/accounts/accountListView.js
@@ -26,8 +26,10 @@ define(['jquery', 'underscore', 'backbone', 'app', 'collections/AccountList', '.
render: function() {
var self = this;
+ App.vent.trigger('accounts:destroyContent');
+ // TODO trs cant' be animated
this.accounts.each(function(account) {
- self.content.append(new accountView({model: account}).render().el);
+ self.content.appendWithHeight(new accountView({model: account}).render().el);
});
},