From d9bdf4e9b95b59a4bc0a5c16b3b52c29813df0b1 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 12 Feb 2014 14:54:32 +0000 Subject: [PATCH] video edit panel: make getSelectedClips return the full unique id strings --- source/Ox.UI/js/Video/VideoEditPanel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index 92c3ca3f..e5c6f3f4 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -645,7 +645,9 @@ Ox.VideoEditPanel = function(options, self) { that.getSelectedClips = function() { return self.options.selected.length ? self.options.selected.map(function(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(); };