mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Series/Index wired up to backbone, just need to add DT
This commit is contained in:
@@ -21,7 +21,8 @@ NzbDrone.Series.DeleteSeriesView = Backbone.Marionette.ItemView.extend({
|
||||
},
|
||||
|
||||
removeSeries: function () {
|
||||
this.model.destroy({ wait: true });
|
||||
//Todo: why the fuck doesn't destroy send the ID?
|
||||
this.model.destroy({ wait: true, headers: { id: this.model.get('id'), deleteFiles: $('#delete-from-disk').prop('checked') } });
|
||||
this.model.collection.remove(this.model);
|
||||
this.$el.parent().modal('hide');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user