From a21594319444459b85fc7a23b6f82b274a444d8e Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 17 Apr 2012 12:03:16 +0000 Subject: [PATCH] typo in item.js --- static/js/pandora/item.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 5d95cb3d..08b4ff3f 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -46,10 +46,8 @@ pandora.ui.item = function() { }) .show(); - if (isVideoView) { - // fixme: layers have value, subtitles has text? - Ox.extend(result.data, pandora.getVideoOptions(result.data)); - } + // fixme: layers have value, subtitles has text? + isVideoView && Ox.extend(result.data, pandora.getVideoOptions(result.data)); if (!result.data.rendered && [ 'clips', 'timeline', 'player', 'editor', 'map', 'calendar' @@ -130,7 +128,7 @@ pandora.ui.item = function() { } else if (pandora.user.ui.itemView == 'timeline') { pandora.$ui.contentPanel.replaceElement(1, - pandora.$ui.editor = pandora.ui.timeline(result.data) + pandora.$ui.timeline = pandora.ui.timeline(result.data) ); } else if (pandora.user.ui.itemView == 'player') {