mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 20:05:46 +01:00
Fix extension completion bug.
This commit is contained in:
@@ -455,8 +455,8 @@ var Addons = Module("addons", {
|
|||||||
context.title = ["Extension"];
|
context.title = ["Extension"];
|
||||||
context.anchored = false;
|
context.anchored = false;
|
||||||
context.keys = { text: "name", description: "description", icon: "iconURL" },
|
context.keys = { text: "name", description: "description", icon: "iconURL" },
|
||||||
context.incomplete = true;
|
|
||||||
context.generate = function () {
|
context.generate = function () {
|
||||||
|
context.incomplete = true;
|
||||||
AddonManager.getAddonsByTypes(types || ["extension"], function (addons) {
|
AddonManager.getAddonsByTypes(types || ["extension"], function (addons) {
|
||||||
context.incomplete = false;
|
context.incomplete = false;
|
||||||
context.completions = addons;
|
context.completions = addons;
|
||||||
|
|||||||
Reference in New Issue
Block a user