sort video by clip props

This commit is contained in:
j 2013-07-10 17:27:38 +00:00
parent 88b27d2f35
commit a660dc327c
3 changed files with 7 additions and 2 deletions

View file

@ -382,7 +382,7 @@ pandora.ui.list = function() {
that = pandora.ui.navigationView(view);
}
if (['list', 'grid', 'clips', 'timelines'].indexOf(view) > -1) {
if (['list', 'grid', 'clips', 'timelines', 'video'].indexOf(view) > -1) {
pandora.enableDragAndDrop(that, true);

View file

@ -1256,7 +1256,7 @@ pandora.isClipView = function(view, item) {
item = pandora.user.ui.item;
}
return (
!item ? ['calendar', 'clip', 'map'] : ['calendar', 'clips', 'map']
!item ? ['calendar', 'clip', 'map', 'video'] : ['calendar', 'clips', 'map']
).indexOf(view) > -1;
};

View file

@ -8,6 +8,11 @@ pandora.ui.videoView = function() {
that = Ox.Element().css({
width: '100%',
hegiht: '100%',
}).update({
sort: function() {
//fixme just update player items
loadPlayer();
}
}),
range = [0, 500],
clips = [],