From 17dcbd142c94fe6b05184d0158f7031572d641a9 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 8 Oct 2008 03:50:26 +0000 Subject: [PATCH] Reset the autocomplete timer before hiding the completions list to prevent an apparant race. --- content/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/ui.js b/content/ui.js index 31c5b4b0..a3d728c8 100644 --- a/content/ui.js +++ b/content/ui.js @@ -591,6 +591,7 @@ liberator.CommandLine = function () //{{{ { multilineInputWidget.collapsed = true; outputContainer.collapsed = true; + autocompleteTimer.reset(); completionList.hide(); completions = []; this.resetCompletions(); @@ -713,6 +714,7 @@ liberator.CommandLine = function () //{{{ currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */ history.add(command); liberator.modes.pop(true); + autocompleteTimer.reset(); completionList.hide(); liberator.focusContent(false); liberator.statusline.updateProgress(""); // we may have a "match x of y" visible