From 64742acac60b385dc6b53010ed4dab0788723147 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 4 Sep 2012 22:25:38 -0700 Subject: [PATCH] Fixed UI update issue for changing season quality --- NzbDrone.Web/Scripts/NzbDrone/seriesDetails.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Web/Scripts/NzbDrone/seriesDetails.js b/NzbDrone.Web/Scripts/NzbDrone/seriesDetails.js index 495a654aa..dc8aeea23 100644 --- a/NzbDrone.Web/Scripts/NzbDrone/seriesDetails.js +++ b/NzbDrone.Web/Scripts/NzbDrone/seriesDetails.js @@ -184,10 +184,10 @@ $("#qualityChanger").dialog({ type: 'POST', success: function (data) { var table = $('table[data-season="' + changeQualityData + '"]'); - var rows = $(table).children('tr'); + var rows = $(table).find('tbody').children('tr'); $(rows).each(function() { - if ($(this).attr('data-episodefileid') === 0) + if ($(this).attr('data-episodefileid') === '0') return; var qualityCell = $(this).find('.episodeQuality');