forked from 0x2620/pandora
Edits: Make the player's link button functional, fixes #2101
This commit is contained in:
parent
fbaa24b9aa
commit
26f0c456ac
1 changed files with 17 additions and 0 deletions
|
@ -235,6 +235,23 @@ pandora.ui.editPanel = function() {
|
||||||
open: function(data) {
|
open: function(data) {
|
||||||
pandora.UI.set(editsKey('clip'), data.ids[0]);
|
pandora.UI.set(editsKey('clip'), data.ids[0]);
|
||||||
},
|
},
|
||||||
|
openlink: function(data) {
|
||||||
|
pandora.UI.set('videoPoints.' + data.item, data.annotation ? {
|
||||||
|
annotation: data.annotation.split('/')[1],
|
||||||
|
'in': data['in'],
|
||||||
|
out: data.out,
|
||||||
|
position: data.position
|
||||||
|
} : {
|
||||||
|
'in': data['in'],
|
||||||
|
out: data.out,
|
||||||
|
position: data.position
|
||||||
|
});
|
||||||
|
pandora.UI.set({
|
||||||
|
section: 'items',
|
||||||
|
item: data.item || data.annotation.split('/')[0],
|
||||||
|
itemView: ui.videoView,
|
||||||
|
});
|
||||||
|
},
|
||||||
paste: function() {
|
paste: function() {
|
||||||
var clips = pandora.clipboard.paste();
|
var clips = pandora.clipboard.paste();
|
||||||
pandora.doHistory('paste', clips, ui.edit, function(result) {
|
pandora.doHistory('paste', clips, ui.edit, function(result) {
|
||||||
|
|
Loading…
Reference in a new issue