1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00

Renamed DeleteSeries to Delete

This commit is contained in:
Mark McDowall 2012-09-11 22:52:25 -07:00
parent 89d22f2eb9
commit a1029b11dd
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ public EmptyResult SaveSingleSeriesEditor(SeriesModel seriesModel)
} }
[HttpPost] [HttpPost]
public EmptyResult DeleteSeries(int seriesId, bool deleteFiles) public EmptyResult Delete(int seriesId, bool deleteFiles)
{ {
_jobProvider.QueueJob(typeof(DeleteSeriesJob), new { SeriesId = seriesId, DeleteFiles = deleteFiles }); _jobProvider.QueueJob(typeof(DeleteSeriesJob), new { SeriesId = seriesId, DeleteFiles = deleteFiles });

View file

@ -1,6 +1,6 @@
var seriesEditorUrl = '../Series/SingleSeriesEditor'; var seriesEditorUrl = '../Series/SingleSeriesEditor';
var saveSeriesEditorUrl = '../Series/SaveSingleSeriesEditor'; var saveSeriesEditorUrl = '../Series/SaveSingleSeriesEditor';
var seriesDeleteUrl = '../Series/DeleteSeries'; var seriesDeleteUrl = '../Series/Delete';
$("#seriesEditor").dialog({ $("#seriesEditor").dialog({
autoOpen: false, autoOpen: false,