Sonarr/src/UI/Activity/Blacklist/BlacklistActionsCell.js

16 lines
398 B
JavaScript
Raw Normal View History

2015-02-03 01:18:45 +00:00
var NzbDroneCell = require('../../Cells/NzbDroneCell');
2015-02-03 01:18:45 +00:00
module.exports = NzbDroneCell.extend({
className : 'blacklist-controls-cell',
events : {
'click' : '_delete'
},
render : function(){
this.$el.empty();
this.$el.html('<i class="icon-nd-delete"></i>');
return this;
},
_delete : function(){
this.model.destroy();
}
});