diff options
Diffstat (limited to 'module/web/static/js/views/accounts/accountView.js')
-rw-r--r-- | module/web/static/js/views/accounts/accountView.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/module/web/static/js/views/accounts/accountView.js b/module/web/static/js/views/accounts/accountView.js deleted file mode 100644 index 7c3d492c3..000000000 --- a/module/web/static/js/views/accounts/accountView.js +++ /dev/null @@ -1,24 +0,0 @@ -define(['jquery', 'underscore', 'backbone', 'app', '../abstract/itemView'], - function($, _, Backbone, App, itemView) { - - // Renders settings over view page - return itemView.extend({ - - tagName: "tr", - template: _.compile($('#template-account').html()), - - events: { - 'click .btn-danger': 'deleteItem' - }, - - initialize: function() { - this.listenTo(this.model, 'remove', this.unrender); - this.listenTo(App.vent, 'accounts:destroyContent', this.destroy); - }, - - render: function() { - this.$el.html(this.template(this.model.toJSON())); - return this; - } - }); - });
\ No newline at end of file |