1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:52:26 +01:00
This commit is contained in:
Kris Maglione
2012-02-12 14:48:34 -05:00
parent caa7e8a1b3
commit 22077af128

View File

@@ -1220,6 +1220,7 @@ var CommandLine = Module("commandline", {
complete: function complete(show, tabPressed) { complete: function complete(show, tabPressed) {
this.session.ignoredCount = 0; this.session.ignoredCount = 0;
this.waiting = null;
this.context.reset(); this.context.reset();
this.context.tabPressed = tabPressed; this.context.tabPressed = tabPressed;
@@ -1948,6 +1949,7 @@ var ItemList = Class("ItemList", {
// Check if we've passed any incomplete contexts // Check if we've passed any incomplete contexts
let i = groups.indexOf(group); let i = groups.indexOf(group);
util.assert(i >= 0, undefined, false);
for (; i < groups.length; i++) { for (; i < groups.length; i++) {
let end = groups[i].offsets.start + groups[i].itemCount; let end = groups[i].offsets.start + groups[i].itemCount;
if (start >= end && groups[i].context.incomplete) if (start >= end && groups[i].context.incomplete)