mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
diskscan is triggered when new episodes are added.
This commit is contained in:
parent
c6933f0228
commit
80759f923e
9 changed files with 22 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
define(['app', 'Series/SeriesModel'], function () {
|
||||
|
||||
NzbDrone.Series.Delete.DeleteSeriesView = Backbone.Marionette.ItemView.extend({
|
||||
template : 'Series/Delete/DeleteSeriesTemplate',
|
||||
template: 'Series/Delete/DeleteSeriesTemplate',
|
||||
|
||||
events: {
|
||||
'click .x-confirm-delete': 'removeSeries'
|
||||
|
@ -18,6 +18,7 @@ define(['app', 'Series/SeriesModel'], function () {
|
|||
|
||||
this.model.destroy({
|
||||
data : { 'deleteFiles': deleteFiles },
|
||||
wait : true,
|
||||
success: function (model) {
|
||||
model.collection.remove(model);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue