mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:47:58 +01:00
Merge default.
--HG-- branch : groups
This commit is contained in:
@@ -326,8 +326,8 @@ var CommandMode = Class("CommandMode", {
|
||||
if (this.complete)
|
||||
this.completions = CommandLine.Completions(commandline.widgets.active.command.inputField, this);
|
||||
|
||||
if (this.completions && command && options["autocomplete"].length && commandline.commandSession === this)
|
||||
this.completions.complete(true, false);
|
||||
if (this.completions && command && commandline.commandSession === this)
|
||||
this.completions.autocompleteTimer.flush(true);
|
||||
},
|
||||
|
||||
get holdFocus() this.widgets.active.command.inputField,
|
||||
@@ -1139,6 +1139,7 @@ var CommandLine = Module("commandline", {
|
||||
|
||||
if (show) {
|
||||
this.itemList.reset();
|
||||
if (this.haveType("list"))
|
||||
this.itemList.visible = true;
|
||||
this.selected = null;
|
||||
this.wildIndex = 0;
|
||||
|
||||
@@ -454,8 +454,8 @@ var Addons = Module("addons", {
|
||||
context.title = ["Extension"];
|
||||
context.anchored = false;
|
||||
context.keys = { text: "name", description: "description", icon: "iconURL" },
|
||||
context.incomplete = true;
|
||||
context.generate = function () {
|
||||
context.incomplete = true;
|
||||
AddonManager.getAddonsByTypes(types || ["extension"], function (addons) {
|
||||
context.incomplete = false;
|
||||
context.completions = addons;
|
||||
|
||||
Reference in New Issue
Block a user