1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-02-14 18:36:04 +00:00

DeleteRootDir and AddSeries shared the same method, which caused addSeries to fail.

This commit is contained in:
Mark McDowall 2011-06-02 19:09:24 -07:00
parent 4f16615e8b
commit eb3875d43b

View file

@ -131,10 +131,10 @@
var deleteRootDirUrl = '@Url.Action("DeleteRootDir", "AddSeries")'; var deleteRootDirUrl = '@Url.Action("DeleteRootDir", "AddSeries")';
function deleteRootDir(id) { function deleteRootDir(id) {
sendToServer(id); sendDeleteToServer(id);
} }
function sendToServer(id) { function sendDeleteToServer(id) {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: deleteRootDirUrl, url: deleteRootDirUrl,