forked from 0x2620/pandora
edit panel: handle join
This commit is contained in:
parent
ce976a860e
commit
c72af378a7
1 changed files with 6 additions and 1 deletions
|
@ -177,7 +177,12 @@ pandora.ui.editPanel = function() {
|
|||
});
|
||||
},
|
||||
join: function(data) {
|
||||
Ox.print('JOIN', data);
|
||||
var clips = [serializeClips(data.ids), serializeClips(data.join)];
|
||||
pandora.doHistory('join', clips, ui.edit, function(result) {
|
||||
updateClips(edit.clips.filter(function(clip) {
|
||||
return !Ox.contains(data.ids, clip.id);
|
||||
}).concat(result.data.clips));
|
||||
});
|
||||
},
|
||||
loop: function(data) {
|
||||
pandora.UI.set({videoLoop: data.loop});
|
||||
|
|
Loading…
Reference in a new issue