1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:17:59 +01:00

Fix async complete bug again. Why did I change it when it was working? It was late.

This commit is contained in:
Kris Maglione
2008-12-05 13:07:34 -05:00
parent e68aaed9c1
commit 7c3f6eb595
2 changed files with 34 additions and 35 deletions

View File

@@ -251,8 +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.prefix = this.context.value.substring(0, this.start);
this.value = this.context.value.substring(this.start, this.caret);
this.suffix = this.context.value.substring(this.caret);
this.itemList.reset();
this.itemList.selectItem(this.selected);