typo in item.js

This commit is contained in:
rolux 2012-04-17 12:03:16 +00:00
parent 88e65748e1
commit a215943194

View file

@ -46,10 +46,8 @@ pandora.ui.item = function() {
}) })
.show(); .show();
if (isVideoView) { // fixme: layers have value, subtitles has text?
// fixme: layers have value, subtitles has text? isVideoView && Ox.extend(result.data, pandora.getVideoOptions(result.data));
Ox.extend(result.data, pandora.getVideoOptions(result.data));
}
if (!result.data.rendered && [ if (!result.data.rendered && [
'clips', 'timeline', 'player', 'editor', 'map', 'calendar' 'clips', 'timeline', 'player', 'editor', 'map', 'calendar'
@ -130,7 +128,7 @@ pandora.ui.item = function() {
} else if (pandora.user.ui.itemView == 'timeline') { } else if (pandora.user.ui.itemView == 'timeline') {
pandora.$ui.contentPanel.replaceElement(1, 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') { } else if (pandora.user.ui.itemView == 'player') {