Fix title is None in Wanted pages

This commit is contained in:
Halali 2019-01-19 14:57:16 +01:00
parent c7fa452d1e
commit 0d2e0daed3
3 changed files with 5 additions and 3 deletions

View File

@ -491,7 +491,7 @@
;
});
function manual_get(button, episodePath, sceneName, hi, sonarrSeriesId, sonarrEpisodeId){
function manual_get(button, episodePath, sceneName, hi){
const values = {
subtitle: $(button).attr("data-subtitle"),
provider: $(button).attr("data-provider"),

View File

@ -167,7 +167,8 @@
sceneName: $(this).attr("data-sceneName"),
language: $(this).attr("data-language"),
hi: $(this).attr("data-hi"),
radarrId: $(this).attr("data-radarrId")
radarrId: $(this).attr("data-radarrId"),
title: '{{!row[0].replace("'", "\\'")}}'
};
$('#loader_text').text("Downloading subtitles...");
$('#loader').addClass('active');

View File

@ -175,7 +175,8 @@
language: $(this).attr("data-language"),
hi: $(this).attr("data-hi"),
sonarrSeriesId: $(this).attr("data-sonarrSeriesId"),
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId")
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"),
title: '{{!row[0].replace("'", "\\'")}}'
};
$('#loader_text').text("Downloading subtitles...");
$('#loader').addClass('active');