From 8964fdcd588e1896f47224e5715bfbfdefc3df8f Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 19 Feb 2012 18:51:53 +0000 Subject: [PATCH] in timeline view, after sumbitting find, make editor gain focus (fixes #539) --- source/Ox.UI/js/Video/Ox.VideoEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index 0d2a8106..35006e89 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -1252,6 +1252,7 @@ Ox.VideoEditor = function(options, self) { that.triggerEvent('find', {find: self.options.find}); if (self.results.length) { selectAnnotation(getNextAnnotation('result', 1)); + that.gainFocus(); } else { self.$findInput.focusInput(true); }