diff --git a/source/UI/js/Video/VideoAnnotationPanel.js b/source/UI/js/Video/VideoAnnotationPanel.js index a6b5d3b6..c92e196d 100644 --- a/source/UI/js/Video/VideoAnnotationPanel.js +++ b/source/UI/js/Video/VideoAnnotationPanel.js @@ -440,6 +440,9 @@ Ox.VideoAnnotationPanel = function(options, self) { size: function() { toggleSize(); }, + submit: function() { + that.gainFocus(); + }, subtitles: function(data) { that.triggerEvent('subtitles', data); }, diff --git a/source/UI/js/Video/VideoPlayer.js b/source/UI/js/Video/VideoPlayer.js index 96f71e91..0ac64ab5 100644 --- a/source/UI/js/Video/VideoPlayer.js +++ b/source/UI/js/Video/VideoPlayer.js @@ -2503,6 +2503,7 @@ Ox.VideoPlayer = function(options, self) { that.triggerEvent('position', { position: self.options.position }); + that.triggerEvent('submit'); } function toggleFind() {