Private GIT

Skip to content
Snippets Groups Projects
Commit 72749a4f authored by Jonathon Saine's avatar Jonathon Saine
Browse files

On displayShow, made the TR toggle the checkbox for the ep. Code provided by jediralf.

parent 61471357
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ All other statuses will automatically update to the appropriate "Downloaded ..."
<h2>#if int($epResult["season"]) == 0 then "Specials" else "Season "+str($epResult["season"])#</h2>
</td>
</tr>
<tr id="season-$epResult["season"]-cols"><th width="1%"><input type="checkbox" class="seasonCheck" id="$epResult["season"]"></th><th>NFO</th><th>TBN</th><th>Episode</th><th>Name</th><th>Airdate</th><th>Filename</th><th>Status</th><th>Actions</th></tr>
<tr id="season-$epResult["season"]-cols"><th width="1%"><input type="checkbox" class="seasonCheck" id="$epResult["season"]"></th><th>NFO</th><th>TBN</th><th>Episode</th><th>Name</th><th>Airdate</th><th>Filename</th><th>Status</th><th>Action</th></tr>
#set $curSeason = int($epResult["season"])
#end if
......@@ -142,7 +142,7 @@ $epLoc
<td>$statusStrings[int($epResult["status"])]</td>
<td align="center">
#if int($epResult["season"]) != 0:
<a href="searchEpisode?show=$show.tvdbid&season=$epResult["season"]&episode=$epResult["episode"]"><img src="$sbRoot/images/search32.png" height="16" alt="search" title="Search" /></a>
<a href="searchEpisode?show=$show.tvdbid&season=$epResult["season"]&episode=$epResult["episode"]"><img src="$sbRoot/images/search32.png" height="16" alt="search" title="Manual Search" /></a>
#end if
</td>
</tr>
......
$(document).ready(function(){
$("table.sickbeardTable tr").click( function(event) {
if (event.target.type !== "checkbox") {
$(this).find("input:checkbox.epCheck").each(function(){
$(this).attr("checked", !$(this).attr("checked"));
});
}
});
$('#changeStatus').click(function(){
var sbRoot = $('#sbRoot').val()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment