mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +00:00
DeleteRootDir and AddSeries shared the same method, which caused addSeries to fail.
This commit is contained in:
parent
4f16615e8b
commit
eb3875d43b
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue