mirror of https://github.com/morpheus65535/bazarr
Change quotas to prevent issue with title contain "'"
This commit is contained in:
parent
df9e2634e2
commit
b178d8fd0f
|
@ -399,7 +399,7 @@
|
||||||
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: '{{!details[0].replace("'", "\\'")}}'
|
title: "{{!details[0].replace("'", "\\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#loader_text').text("Downloading subtitle to disk...");
|
$('#loader_text').text("Downloading subtitle to disk...");
|
||||||
|
@ -472,7 +472,7 @@
|
||||||
hi: hi,
|
hi: hi,
|
||||||
sonarrSeriesId: sonarrSeriesId,
|
sonarrSeriesId: sonarrSeriesId,
|
||||||
sonarrEpisodeId: sonarrEpisodeId,
|
sonarrEpisodeId: sonarrEpisodeId,
|
||||||
title: '{{!details[0].replace("'", "\'")}}'
|
title: "{{!details[0].replace("'", "\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#search_result').DataTable( {
|
$('#search_result').DataTable( {
|
||||||
|
@ -556,7 +556,7 @@
|
||||||
hi: hi,
|
hi: hi,
|
||||||
sonarrSeriesId: sonarrSeriesId,
|
sonarrSeriesId: sonarrSeriesId,
|
||||||
sonarrEpisodeId: sonarrEpisodeId,
|
sonarrEpisodeId: sonarrEpisodeId,
|
||||||
title: '{{!details[0].replace("'", "\\'")}}'
|
title: "{{!details[0].replace("'", "\\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#loader_text').text("Downloading subtitle to disk...");
|
$('#loader_text').text("Downloading subtitle to disk...");
|
||||||
|
|
|
@ -349,7 +349,7 @@
|
||||||
hi: $(this).attr("data-hi"),
|
hi: $(this).attr("data-hi"),
|
||||||
radarrId: $(this).attr("data-radarrId"),
|
radarrId: $(this).attr("data-radarrId"),
|
||||||
tmdbid: {{tmdbid}},
|
tmdbid: {{tmdbid}},
|
||||||
title: '{{!details[0].replace("'", "\\'")}}'
|
title: "{{!details[0].replace("'", "\\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#loader_text').text("Downloading subtitle to disk...");
|
$('#loader_text').text("Downloading subtitle to disk...");
|
||||||
|
@ -417,7 +417,7 @@
|
||||||
language: language,
|
language: language,
|
||||||
hi: hi,
|
hi: hi,
|
||||||
radarrId: radarrId,
|
radarrId: radarrId,
|
||||||
title: '{{!details[0].replace("'", "\'")}}'
|
title: "{{!details[0].replace("'", "\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#search_result').DataTable( {
|
$('#search_result').DataTable( {
|
||||||
|
@ -501,7 +501,7 @@
|
||||||
language: $(button).attr("data-language"),
|
language: $(button).attr("data-language"),
|
||||||
hi: hi,
|
hi: hi,
|
||||||
radarrId: radarrId,
|
radarrId: radarrId,
|
||||||
title: '{{!details[0].replace("'", "\\'")}}'
|
title: "{{!details[0].replace("'", "\\'")}}"
|
||||||
};
|
};
|
||||||
|
|
||||||
$('#loader_text').text("Downloading subtitle to disk...");
|
$('#loader_text').text("Downloading subtitle to disk...");
|
||||||
|
|
Loading…
Reference in New Issue