mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 07:55:22 +02:00
Moved root dir config to add series.
Cleaned up Indexers.cshtml. Indexers is the new default Settings page.
This commit is contained in:
@@ -53,14 +53,18 @@
|
||||
url: addNewSeriesUrl,
|
||||
data: jQuery.param({ rootPath: rootPath, seriesName: seriesName, seriesId: id, qualityProfileId: quality }),
|
||||
error: function (req, status, error) {
|
||||
alert("Sorry! We could not add " + path + " at this time. " + error);
|
||||
alert("Sorry! We could not add " + seriesName + " at this time. " + error);
|
||||
},
|
||||
success: function (){
|
||||
success: function (data, textStatus, jqXHR){
|
||||
//Clear the search box
|
||||
$("#seriesList_new").data("tComboBox").text('');
|
||||
|
||||
//Close the Window!
|
||||
closeAddNewSeries();
|
||||
//Through up an alert if we failed to add the series
|
||||
if (data != 'ok')
|
||||
alert("Sorry! We could not add " + seriesName + ", does it already exist?");
|
||||
|
||||
else
|
||||
closeAddNewSeries(); //Close the Window!
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user