Cleaned up SeriesController.

More CSS fixes for Series/Details
This commit is contained in:
Mark McDowall 2012-02-04 14:05:56 -08:00 committed by kay.one
commit 9721738bec
7 changed files with 29 additions and 211 deletions

View file

@ -5,8 +5,8 @@ var readyImage = '../../Content/Images/Ready.png';
var downloadingImage = '../../Content/Images/Downloading.png';
var seriesId = 0;
var saveSeasonIgnoreUrl = '../Series/SaveSeasonIgnore';
var saveEpisodeIgnoreUrl = '../Series/SaveEpisodeIgnore';
var saveSeasonIgnoreUrl = '../Command/SaveSeasonIgnore';
var saveEpisodeIgnoreUrl = '../Command/SaveEpisodeIgnore';
//Episode Ignore Functions
$(".ignoreEpisode").live("click", function () {
@ -146,6 +146,6 @@ function saveEpisodeIgnore(episodeId, ignored) {
}
/* Click on row, show details */
$('.seriesTable tr').live('click', function() {
$(this).next('.detail-view').toggle();
$('.seriesTable tr td:not(:last-child)').live('click', function () {
$(this).parent('tr').next('.detail-view').toggle();
});