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.
Sonarr/src/UI/Activity/Blacklist/BlacklistActionsCell.js

21 lines
401 B

9 years ago
var NzbDroneCell = require('../../Cells/NzbDroneCell');
9 years ago
module.exports = NzbDroneCell.extend({
className : 'blacklist-controls-cell',
events : {
9 years ago
'click' : '_delete'
},
render : function() {
9 years ago
this.$el.empty();
this.$el.html('<i class="icon-sonarr-delete"></i>');
9 years ago
return this;
},
_delete : function() {
9 years ago
this.model.destroy();
}
});