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.
27 lines
539 B
27 lines
539 B
10 years ago
|
'use strict';
|
||
|
|
||
|
define(
|
||
|
[
|
||
|
'Cells/NzbDroneCell'
|
||
|
], function (NzbDroneCell) {
|
||
|
return 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();
|
||
|
}
|
||
|
});
|
||
|
});
|