From 22077af12803ce074446deb5fa7372eb1eb3ff25 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 12 Feb 2012 14:48:34 -0500 Subject: [PATCH] Fix bug. --- common/content/commandline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/content/commandline.js b/common/content/commandline.js index 62f72d84..2e33e3ff 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1220,6 +1220,7 @@ var CommandLine = Module("commandline", { complete: function complete(show, tabPressed) { this.session.ignoredCount = 0; + this.waiting = null; this.context.reset(); this.context.tabPressed = tabPressed; @@ -1948,6 +1949,7 @@ var ItemList = Class("ItemList", { // Check if we've passed any incomplete contexts let i = groups.indexOf(group); + util.assert(i >= 0, undefined, false); for (; i < groups.length; i++) { let end = groups[i].offsets.start + groups[i].itemCount; if (start >= end && groups[i].context.incomplete)