diff options
author | 2013-03-31 18:32:13 +0200 | |
---|---|---|
committer | 2013-03-31 18:32:13 +0200 | |
commit | 9ea1ab90b4705ef4d5ce37ded36a214f276c0a18 (patch) | |
tree | 995539a44a25c54344639d5ade7aa3e48624ed97 /module/web/static/js/views/accounts/accountListView.js | |
parent | added account page (diff) | |
download | pyload-9ea1ab90b4705ef4d5ce37ded36a214f276c0a18.tar.xz |
add and delete accounts, db will be resetted
Diffstat (limited to 'module/web/static/js/views/accounts/accountListView.js')
-rw-r--r-- | module/web/static/js/views/accounts/accountListView.js | 4 |
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); }); }, |