ビューでイベントを発生させようとしていますが、トリガーされていないようです。このビューは別のビュー内から実行されるため、イベントが適切にセットアップされていないかどうかはわかりません。
var ListRow = Backbone.View.extend(
{
events:
{
'click .button.delete': 'destroy'
},
initialize: function()
{
_.bindAll(this, 'render', 'remove');
},
render: function()
{
this.el = _.template($('#tpl-sTableList_' + key + 'Row').html());
return this;
},
destroy: function()
{
console.log('remove')
}
});