From e3f2f358b8a8f4bb4731f80ebfdc091ec075a233 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 19 Feb 2012 08:10:39 +0000 Subject: [PATCH] fix previous fix --- static/js/pandora/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index aa62676c5..68e7443b7 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -794,7 +794,7 @@ pandora.getVideoOptions = function(data) { canPlayVideo = data.editable || pandora.site.capabilities.canPlayVideo[pandora.user.level] >= data.rightslevel, options = {}, subtitlesLayer = Ox.getObject(pandora.site.layers, 'isSubtitle', true); - options.subtitles = subtitlesLayer ? data.layers[subtitlesLayer.id].items.map(function(subtitle) { + options.subtitles = subtitlesLayer ? data.layers[subtitlesLayer.id].map(function(subtitle) { return {'in': subtitle['in'], out: subtitle.out, text: subtitle.value}; }) : []; options.censored = canPlayVideo ? []