Fix title is None in Wanted pages

pull/292/head
Halali 6 years ago
parent c7fa452d1e
commit 0d2e0daed3

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

@ -167,7 +167,8 @@
sceneName: $(this).attr("data-sceneName"), sceneName: $(this).attr("data-sceneName"),
language: $(this).attr("data-language"), language: $(this).attr("data-language"),
hi: $(this).attr("data-hi"), 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_text').text("Downloading subtitles...");
$('#loader').addClass('active'); $('#loader').addClass('active');

@ -175,7 +175,8 @@
language: $(this).attr("data-language"), language: $(this).attr("data-language"),
hi: $(this).attr("data-hi"), hi: $(this).attr("data-hi"),
sonarrSeriesId: $(this).attr("data-sonarrSeriesId"), 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_text').text("Downloading subtitles...");
$('#loader').addClass('active'); $('#loader').addClass('active');

Loading…
Cancel
Save