in timeline view, after sumbitting find, make editor gain focus (fixes #539)
This commit is contained in:
parent
02b5b56be8
commit
8964fdcd58
1 changed files with 1 additions and 0 deletions
|
@ -1252,6 +1252,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
that.triggerEvent('find', {find: self.options.find});
|
that.triggerEvent('find', {find: self.options.find});
|
||||||
if (self.results.length) {
|
if (self.results.length) {
|
||||||
selectAnnotation(getNextAnnotation('result', 1));
|
selectAnnotation(getNextAnnotation('result', 1));
|
||||||
|
that.gainFocus();
|
||||||
} else {
|
} else {
|
||||||
self.$findInput.focusInput(true);
|
self.$findInput.focusInput(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue