trigger selectannotation in ClipsPanel/VideoEditPanel

This commit is contained in:
j 2018-03-16 13:09:12 +05:30
parent d9695f8540
commit b9709f6702
2 changed files with 10 additions and 0 deletions

View file

@ -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({

View file

@ -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);