1
0
Fork 0
forked from 0x2620/oxjs

make space work when annotation panel has focus; give focus to video editor when deselecting annotation in panel

This commit is contained in:
rlx 2012-01-11 17:34:49 +05:30
commit e98696b93d
2 changed files with 10 additions and 5 deletions

View file

@ -96,7 +96,10 @@ Ox.AnnotationPanel = function(options, self) {
that.triggerEvent('edit');
},
select: selectAnnotation,
submit: submitAnnotation
submit: submitAnnotation,
key_space: function() {
that.triggerEvent('paused');
}
});
}
self.$annotations.appendTo(that.$content);