update timeline names

This commit is contained in:
rolux 2012-03-17 06:31:34 +00:00
commit 21fc25e7fd
3 changed files with 16 additions and 4 deletions

View file

@ -70,8 +70,8 @@ pandora.ui.mainMenu = function() {
] : []
) },
{ id: 'timelines', title: 'Timelines', items: [
{ group: 'viewtimelines', min: 1, max: 1, items: ['average', 'center', 'frames'].map(function(timelines) {
return {id: timelines, title: Ox.toTitleCase(timelines), checked: ui.videoTimeline == timelines};
{ group: 'viewtimelines', min: 1, max: 1, items: pandora.site.timelines.map(function(mode) {
return {id: mode.id, title: mode.title, checked: ui.videoTimeline == mode.id};
}) }
]},
{ id: 'columns', title: 'Columns', items: [