add timeline ui option to menu
This commit is contained in:
parent
6f82e1298f
commit
82cd45aeb1
1 changed files with 9 additions and 2 deletions
|
@ -67,6 +67,11 @@ pandora.ui.mainMenu = function() {
|
|||
{ id: 'showsiteposter', title: 'Always Show ' + pandora.site.site.name + ' Poster', checked: ui.showSitePoster }
|
||||
] : []
|
||||
) },
|
||||
{ id: 'timelines', title: 'Timelines', items: [
|
||||
{ group: 'viewtimelines', min: 1, max: 1, items: ['average', 'center', 'full'].map(function(timelines) {
|
||||
return {id: timelines, title: Ox.tiTitleCase(timelines), checked: ui.videoTimeline = timelines};
|
||||
}) }
|
||||
]},
|
||||
{ id: 'columns', title: 'Columns', items: [
|
||||
{ id: 'loadcolumns', title: 'Load Layout...', disabled: true },
|
||||
{ id: 'savecolumns', title: 'Save Layout...', disabled: true },
|
||||
|
@ -225,6 +230,8 @@ pandora.ui.mainMenu = function() {
|
|||
operator: '&'
|
||||
}
|
||||
});
|
||||
} else if (data.id == 'viewtimelines') {
|
||||
pandora.UI.set({videoTimeline: value});
|
||||
}
|
||||
},
|
||||
click: function(data) {
|
||||
|
|
Loading…
Reference in a new issue