diff --git a/source/UI/js/Video/ClipPanel.js b/source/UI/js/Video/ClipPanel.js index 3776b332..81d202ee 100644 --- a/source/UI/js/Video/ClipPanel.js +++ b/source/UI/js/Video/ClipPanel.js @@ -442,6 +442,13 @@ Ox.ClipPanel = function(options, self) { showUsers: self.options.showUsers, sort: self.options.annotationsSort, width: self.options.width + }).bindEvent({ + select: function(data) { + that.triggerEvent('selectannotation', data); + }, + open: function(data) { + // .. + } }); $list.size = function() { $list.options({ diff --git a/source/UI/js/Video/VideoEditPanel.js b/source/UI/js/Video/VideoEditPanel.js index 2845b8ef..66a345d5 100644 --- a/source/UI/js/Video/VideoEditPanel.js +++ b/source/UI/js/Video/VideoEditPanel.js @@ -430,6 +430,9 @@ Ox.VideoEditPanel = function(options, self) { self.options.selected = data.ids; that.triggerEvent('select', data); }, + selectannotation: function(data) { + that.triggerEvent('selectannotation', data); + }, sort: function(data) { self.options.sort = data; that.triggerEvent('sort', data);