From 600ef3abc2e03f1c45cde8d00d7f18d020b98a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Louis=20V=C3=A9zina?=
<5130500+morpheus65535@users.noreply.github.com>
Date: Mon, 2 Dec 2019 19:25:16 -0500
Subject: [PATCH] Fix for episodes.tpl manual search missing headers.
---
views/episodes.tpl | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/views/episodes.tpl b/views/episodes.tpl
index 3b928335b..ceb522dd1 100644
--- a/views/episodes.tpl
+++ b/views/episodes.tpl
@@ -382,7 +382,7 @@
@@ -405,7 +405,7 @@
@@ -588,10 +588,10 @@
});
$('.episode_history').on('click', function(){
- $("#series_title_span").html($(this).data("series_title"));
- $("#season").html($(this).data("season"));
- $("#episode").html($(this).data("episode"));
- $("#episode_title").html($(this).data("episode_title"));
+ $(".series_title_span").html($(this).data("series_title"));
+ $(".season_span").html($(this).data("season"));
+ $(".episode_span").html($(this).data("episode"));
+ $(".episode_title_span").html($(this).data("episode_title"));
sonarrEpisodeId = $(this).attr("data-sonarrEpisodeId");
@@ -633,10 +633,10 @@
});
$('.manual_search').on('click', function(){
- $("#series_title_span").html($(this).data("series_title"));
- $("#season").html($(this).data("season"));
- $("#episode").html($(this).data("episode"));
- $("#episode_title").html($(this).data("episode_title"));
+ $(".series_title_span").html($(this).data("series_title"));
+ $(".season_span").html($(this).data("season"));
+ $(".episode_span").html($(this).data("episode"));
+ $(".episode_title_span").html($(this).data("episode_title"));
$("#episode_path_span").html($(this).attr("data-episodePath"));
$("#episode_scenename_span").html($(this).attr("data-sceneName"));