1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 01:12:27 +01:00

Add CompletionContextcompletion.jscancelAll

This commit is contained in:
Kris Maglione
2009-01-06 11:44:36 -05:00
parent ffd69033f7
commit 343a40f71b
2 changed files with 14 additions and 6 deletions

View File

@@ -1438,10 +1438,7 @@ function CommandLine() //{{{
// liberator.dump("Resetting completions...");
if (completions)
{
// if any child context has a cancelFunc, call it
for (let [, context] in Iterator(completions.context.top.contexts))
if (context.cancelFunc)
context.cancelFunc();
completions.context.cancelAll();
completions.wildIndex = -1;
completions.previewClear();