fix #2673 (editor focus lost after player position submit)

This commit is contained in:
rolux 2015-02-11 15:11:59 +01:00
parent cb3d0e9cd8
commit 6e01a73178
2 changed files with 4 additions and 0 deletions

View file

@ -440,6 +440,9 @@ Ox.VideoAnnotationPanel = function(options, self) {
size: function() {
toggleSize();
},
submit: function() {
that.gainFocus();
},
subtitles: function(data) {
that.triggerEvent('subtitles', data);
},

View file

@ -2503,6 +2503,7 @@ Ox.VideoPlayer = function(options, self) {
that.triggerEvent('position', {
position: self.options.position
});
that.triggerEvent('submit');
}
function toggleFind() {