From 2a47b434a4acbd2592d0a8c93d9b337df62e14b3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 15 Feb 2012 17:38:34 +0530 Subject: [PATCH] update highlight for empty string right away, fixes #395 --- source/Ox.UI/js/Video/Ox.VideoEditor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index e27281ee..e205b841 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -1188,6 +1188,8 @@ Ox.VideoEditor = function(options, self) { } else { self.$findInput.focusInput(true); } + } + if (hasPressedEnter || !self.options.find) { self.$annotationPanel.options({highlight: self.options.find}); } }