mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
DeleteRootDir and AddSeries shared the same method, which caused addSeries to fail.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user