Moved root dir config to add series.

Cleaned up Indexers.cshtml.
Indexers is the new default Settings page.
This commit is contained in:
Mark McDowall
2011-05-30 23:13:46 -07:00
parent f6578bd535
commit f27c1d89f6
12 changed files with 355 additions and 357 deletions

View File

@@ -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!
}
});
}