From 22a0d8b5057625fa0fa0a6f623448c178a0c6905 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 4 Dec 2008 10:52:22 +0900 Subject: [PATCH] Fix: commandline.input does not set "completions". --- liberator/content/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liberator/content/ui.js b/liberator/content/ui.js index 5a3dda32..fbe16c15 100644 --- a/liberator/content/ui.js +++ b/liberator/content/ui.js @@ -915,6 +915,8 @@ function CommandLine() //{{{ setPrompt(prompt + " ", this.HL_QUESTION); setCommand(extra.default || ""); commandWidget.focus(); + + completions = new Completions(CompletionContext(commandWidget.inputField.editor)); }, // reads a multi line input and returns the string once the last line matches