Fixed UI update issue for changing season quality

This commit is contained in:
Mark McDowall 2012-09-04 22:25:38 -07:00
parent ae3452039c
commit 64742acac6
1 changed files with 2 additions and 2 deletions

View File

@ -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');