diff options
author | Halali <[email protected]> | 2019-02-02 08:54:29 +0100 |
---|---|---|
committer | Halali <[email protected]> | 2019-02-02 08:54:29 +0100 |
commit | b178d8fd0f754671e5c9f1b39f4d3fe52974ebf7 (patch) | |
tree | 10ebf63b5ca46433be45b04b1b3bc11fdba1a6db | |
parent | df9e2634e2e361cf7fcbd3cce2e829491b3709ca (diff) | |
download | bazarr-b178d8fd0f754671e5c9f1b39f4d3fe52974ebf7.tar.gz bazarr-b178d8fd0f754671e5c9f1b39f4d3fe52974ebf7.zip |
Change quotas to prevent issue with title contain "'"
-rw-r--r-- | views/episodes.tpl | 6 | ||||
-rw-r--r-- | views/movie.tpl | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/views/episodes.tpl b/views/episodes.tpl index d0d8cb409..d129b5edd 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -399,7 +399,7 @@ hi: $(this).attr("data-hi"), sonarrSeriesId: $(this).attr('data-sonarrSeriesId'), sonarrEpisodeId: $(this).attr('data-sonarrEpisodeId'), - title: '{{!details[0].replace("'", "\\'")}}' + title: "{{!details[0].replace("'", "\\'")}}" }; $('#loader_text').text("Downloading subtitle to disk..."); @@ -472,7 +472,7 @@ hi: hi, sonarrSeriesId: sonarrSeriesId, sonarrEpisodeId: sonarrEpisodeId, - title: '{{!details[0].replace("'", "\'")}}' + title: "{{!details[0].replace("'", "\'")}}" }; $('#search_result').DataTable( { @@ -556,7 +556,7 @@ hi: hi, sonarrSeriesId: sonarrSeriesId, sonarrEpisodeId: sonarrEpisodeId, - title: '{{!details[0].replace("'", "\\'")}}' + title: "{{!details[0].replace("'", "\\'")}}" }; $('#loader_text').text("Downloading subtitle to disk..."); diff --git a/views/movie.tpl b/views/movie.tpl index 560c7fc87..6444c3d1b 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -349,7 +349,7 @@ hi: $(this).attr("data-hi"), radarrId: $(this).attr("data-radarrId"), tmdbid: {{tmdbid}}, - title: '{{!details[0].replace("'", "\\'")}}' + title: "{{!details[0].replace("'", "\\'")}}" }; $('#loader_text').text("Downloading subtitle to disk..."); @@ -417,7 +417,7 @@ language: language, hi: hi, radarrId: radarrId, - title: '{{!details[0].replace("'", "\'")}}' + title: "{{!details[0].replace("'", "\'")}}" }; $('#search_result').DataTable( { @@ -501,7 +501,7 @@ language: $(button).attr("data-language"), hi: hi, radarrId: radarrId, - title: '{{!details[0].replace("'", "\\'")}}' + title: "{{!details[0].replace("'", "\\'")}}" }; $('#loader_text').text("Downloading subtitle to disk..."); |