mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-31 18:20:09 +01: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")';
|
||||
|
||||
function deleteRootDir(id) {
|
||||
sendToServer(id);
|
||||
sendDeleteToServer(id);
|
||||
}
|
||||
|
||||
function sendToServer(id) {
|
||||
function sendDeleteToServer(id) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: deleteRootDirUrl,
|
||||
|
||||
Reference in New Issue
Block a user