You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/UI/Activity/Blacklist/BlacklistActionsCell.js

16 lines
398 B

var NzbDroneCell = require('../../Cells/NzbDroneCell');
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();
}
});