From 968fad4193f0a213cd12d50ca33b87742068b018 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 27 Jan 2019 21:35:44 -0500 Subject: [PATCH] Fix for #290. --- views/wantedmovies.tpl | 8 ++++---- views/wantedseries.tpl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/views/wantedmovies.tpl b/views/wantedmovies.tpl index 80b3653ee..0537f7719 100644 --- a/views/wantedmovies.tpl +++ b/views/wantedmovies.tpl @@ -86,7 +86,7 @@ %end %end %else: - + {{language}} @@ -119,12 +119,12 @@ backward icon"> {{page}} / {{max_page}} @@ -168,7 +168,7 @@ language: $(this).attr("data-language"), hi: $(this).attr("data-hi"), radarrId: $(this).attr("data-radarrId"), - title: '{{!row[0].replace("'", "\\'")}}' + title: $(this).attr("data-title") }; $('#loader_text').text("Downloading subtitles..."); $('#loader').addClass('active'); diff --git a/views/wantedseries.tpl b/views/wantedseries.tpl index 8897d0497..4e80152f7 100644 --- a/views/wantedseries.tpl +++ b/views/wantedseries.tpl @@ -93,7 +93,7 @@ %end %end %else: - + {{language}} @@ -126,12 +126,12 @@ backward icon"> {{page}} / {{max_page}} @@ -176,7 +176,7 @@ hi: $(this).attr("data-hi"), sonarrSeriesId: $(this).attr("data-sonarrSeriesId"), sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"), - title: '{{!row[0].replace("'", "\\'")}}' + title: $(this).attr("data-title") }; $('#loader_text').text("Downloading subtitles..."); $('#loader').addClass('active');