From 855bc5b9fe26ad0a4d4734ed64fe965af51ed2bb Mon Sep 17 00:00:00 2001 From: Daniel Bainton Date: Wed, 18 Mar 2009 22:39:32 +0200 Subject: [PATCH] Revert "Fix bug #189, now uses first completion" This reverts commit f18efe4ec792afb65c4bace11073526aef31725e. --- common/content/ui.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/common/content/ui.js b/common/content/ui.js index a23e5de7..d01f2a2c 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -1298,15 +1298,8 @@ function CommandLine() //{{{ // user pressed ENTER to carry out a command // user pressing ESCAPE is handled in the global onEscape // FIXME: should trigger "cancel" event - // FIXME: This should not be waiting, some kind of callback mechanism on completion would be better. if (events.isAcceptKey(key)) { - while (completions.context.incomplete) - { - liberator.threadYield(true); - command = this.command; - } - let mode = currentExtendedMode; // save it here, as modes.pop() resets it keepCommand = true; currentExtendedMode = null; // Don't let modes.pop trigger "cancel"