mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -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);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
define(['app', 'Series/SeriesModel'], function () {
|
||||
NzbDrone.Series.SeriesCollection = Backbone.PageableCollection.extend({
|
||||
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/series',
|
||||
model: NzbDrone.Series.SeriesModel,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue