From 24c80ddb8a863a0e8fce56fbb697584ba5ee513f Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 5 Dec 2008 11:28:19 -0500 Subject: [PATCH] Fix async completion bug. --- common/content/ui.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/content/ui.js b/common/content/ui.js index d0201e21..29f93ca5 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -251,6 +251,9 @@ function CommandLine() //{{{ _reset: function _reset() { + this.prefix = this.prefix + this.value.substr(0, this.start); + this.value = this.value.substr(this.start); + this.itemList.reset(); this.itemList.selectItem(this.selected);