This commit is contained in:
Louis Vézina 2020-02-09 22:37:49 -05:00
parent d32bb22e2d
commit 5dba7a4181
1 changed files with 3 additions and 3 deletions

View File

@ -426,7 +426,7 @@
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"),
tvdbid: seriesDetails['tvdbId']
};
var cell = $(this).parent();
var cell = $(this).closest('td');
$.ajax({
url: "{{ url_for('api.episodessubtitlesdelete') }}",
type: "DELETE",
@ -451,7 +451,7 @@
sonarrEpisodeId: $(this).attr('data-sonarrepisodeid'),
title: seriesDetails['title']
};
var cell = $(this).parent();
var cell = $(this).closest('td');
$.ajax({
url: "{{ url_for('api.episodessubtitlesdownload') }}",
type: "POST",
@ -588,7 +588,7 @@
sonarrEpisodeId: $(this).attr('data-sonarrepisodeid'),
title: seriesDetails['title']
};
var cell = $(this).parent();
var cell = $(this).closest('td');
$.ajax({
url: "{{ url_for('api.episodessubtitlesmanualdownload') }}",
type: "POST",