From a661f5363be9d7e66bfd5d3f8cd878b7ebc95ac5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 29 Jan 2011 15:50:44 -0500 Subject: [PATCH] Fix issue with empty 'autocomplete'. --- common/content/commandline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index 6e80147d..0840420e 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -332,7 +332,7 @@ var CommandMode = Class("CommandMode", { commandline.commandSession = this; if (this.command || stack.pop && commandline.command) { this.onChange(commandline.command); - if (this.completions) + if (this.completions && options["autocomplete"].length) this.completions.complete(true, false); } },