From 2092d586d71f4faca6603bce8768c2ce01bf93b1 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 6 Dec 2008 19:16:18 -0500 Subject: [PATCH] Fix commandline.input --- common/content/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/content/ui.js b/common/content/ui.js index f1e1f224..22985b20 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -995,6 +995,7 @@ function CommandLine() //{{{ setPrompt(prompt, extra.promptHighlight || this.HL_QUESTION); setCommand(extra.default || ""); + commandlineWidget.collapsed = false; commandWidget.focus(); completions = Completions(commandWidget.inputField); @@ -1383,7 +1384,8 @@ function CommandLine() //{{{ completions.context.reset(); // Needed? //completions.reset(); - history.reset(); + if (history) + history.reset(); } }; //}}}