diff --git a/static/js/mediaView.js b/static/js/mediaView.js index f147da230..2f0d1b9c5 100644 --- a/static/js/mediaView.js +++ b/static/js/mediaView.js @@ -638,9 +638,9 @@ pandora.ui.mediaView = function(options) { result.data.items.forEach(function(item) { if (self.$filesList.value(item.id, 'state') == 'encoding' && item.state != 'encoding') { + self.$filesList.value(item.id, 'state', item.state); done = true; } - self.$filesList.value(item.id, 'state', item.state); if (!update && item.state == 'encoding') { update = true; }