in timeline view, after sumbitting find, make editor gain focus (fixes #539)

This commit is contained in:
rlx 2012-02-19 18:51:53 +00:00
parent 02b5b56be8
commit 8964fdcd58

View file

@ -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);
} }