video edit panel: make getSelectedClips return the full unique id strings

This commit is contained in:
rolux 2014-02-12 14:54:32 +00:00
parent 50f4bb145d
commit d9bdf4e9b9

View file

@ -645,7 +645,9 @@ Ox.VideoEditPanel = function(options, self) {
that.getSelectedClips = function() { that.getSelectedClips = function() {
return self.options.selected.length ? self.options.selected.map(function(id) { return self.options.selected.length ? self.options.selected.map(function(id) {
var clip = getClipById(id); var clip = getClipById(id);
return clip.annotation || clip.item + '/' + clip['in'] + '-' + clip.out; return (
clip.annotation || clip.item + '/' + clip['in'] + '-' + clip.out
) + '/' + id;
}) : getClipsInSelection(); }) : getClipsInSelection();
}; };