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, showUsers: self.options.showUsers,
sort: self.options.annotationsSort, sort: self.options.annotationsSort,
width: self.options.width width: self.options.width
}).bindEvent({
select: function(data) {
that.triggerEvent('selectannotation', data);
},
open: function(data) {
// ..
}
}); });
$list.size = function() { $list.size = function() {
$list.options({ $list.options({

View file

@ -430,6 +430,9 @@ Ox.VideoEditPanel = function(options, self) {
self.options.selected = data.ids; self.options.selected = data.ids;
that.triggerEvent('select', data); that.triggerEvent('select', data);
}, },
selectannotation: function(data) {
that.triggerEvent('selectannotation', data);
},
sort: function(data) { sort: function(data) {
self.options.sort = data; self.options.sort = data;
that.triggerEvent('sort', data); that.triggerEvent('sort', data);