mirror of https://github.com/lidarr/Lidarr
16 lines
398 B
JavaScript
16 lines
398 B
JavaScript
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();
|
|
}
|
|
}); |