add 'add to clipboard' handler to clip list

This commit is contained in:
rolux 2013-07-15 09:57:44 +00:00
parent 8362d55d9d
commit 9ca6613bc6

View file

@ -102,8 +102,10 @@ pandora.ui.editPanel = function() {
return Ox.getObjectById(edit.clips, id); return Ox.getObjectById(edit.clips, id);
}), 'clip'); }), '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) { edit: function(data) {
var args = {id: data.id}, var args = {id: data.id},