From 1c032bcba6636d68e34cd6e783796314a09e2748 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 8 Sep 2007 10:10:12 +0000 Subject: [PATCH] fixed multiline input widget --- chrome/content/vimperator/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/vimperator/ui.js b/chrome/content/vimperator/ui.js index fd126578..ea634ac8 100644 --- a/chrome/content/vimperator/ui.js +++ b/chrome/content/vimperator/ui.js @@ -310,7 +310,8 @@ function CommandLine() //{{{ { // prevent losing focus, there should be a better way, but it just didn't work otherwise setTimeout(function() { - if (vimperator.hasMode(vimperator.modes.COMMAND_LINE)) + if (vimperator.hasMode(vimperator.modes.COMMAND_LINE) && + !vimperator.hasMode(vimperator.modes.READ_MULTILINE)) command_widget.inputField.focus(); }, 0); }