forked from 0x2620/pandora
add 'add to clipboard' handler to clip list
This commit is contained in:
parent
8362d55d9d
commit
9ca6613bc6
1 changed files with 4 additions and 2 deletions
|
@ -102,8 +102,10 @@ pandora.ui.editPanel = function() {
|
|||
return Ox.getObjectById(edit.clips, id);
|
||||
}), 'clip');
|
||||
},
|
||||
cut: function(data) {
|
||||
// ...
|
||||
copyadd: function(data) {
|
||||
Ox.Clipboard.add(data.ids.map(function(id) {
|
||||
return Ox.getObjectById(edit.clips, id);
|
||||
}), 'clip');
|
||||
},
|
||||
edit: function(data) {
|
||||
var args = {id: data.id},
|
||||
|
|
Loading…
Reference in a new issue