fix #2673 (editor focus lost after player position submit)
This commit is contained in:
parent
cb3d0e9cd8
commit
6e01a73178
2 changed files with 4 additions and 0 deletions
|
@ -440,6 +440,9 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
size: function() {
|
size: function() {
|
||||||
toggleSize();
|
toggleSize();
|
||||||
},
|
},
|
||||||
|
submit: function() {
|
||||||
|
that.gainFocus();
|
||||||
|
},
|
||||||
subtitles: function(data) {
|
subtitles: function(data) {
|
||||||
that.triggerEvent('subtitles', data);
|
that.triggerEvent('subtitles', data);
|
||||||
},
|
},
|
||||||
|
|
|
@ -2503,6 +2503,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
that.triggerEvent('position', {
|
that.triggerEvent('position', {
|
||||||
position: self.options.position
|
position: self.options.position
|
||||||
});
|
});
|
||||||
|
that.triggerEvent('submit');
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleFind() {
|
function toggleFind() {
|
||||||
|
|
Loading…
Reference in a new issue