mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 09:45:46 +01:00
Fix small completion.addonType issue.
--HG-- branch : groups
This commit is contained in:
@@ -437,10 +437,8 @@ var Addons = Module("addons", {
|
|||||||
context.completions = types.map(function (t) [t, util.capitalize(t)]);
|
context.completions = types.map(function (t) [t, util.capitalize(t)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AddonManager.getAllAddons)
|
|
||||||
context.incomplete = true;
|
|
||||||
|
|
||||||
context.generate = function generate() {
|
context.generate = function generate() {
|
||||||
|
context.incomplete = true;
|
||||||
update(base);
|
update(base);
|
||||||
if (AddonManager.getAllAddons)
|
if (AddonManager.getAllAddons)
|
||||||
AddonManager.getAllAddons(function (addons) {
|
AddonManager.getAllAddons(function (addons) {
|
||||||
|
|||||||
@@ -148,10 +148,7 @@ var Download = Class("Download", {
|
|||||||
|
|
||||||
updateStatus: function updateStatus() {
|
updateStatus: function updateStatus() {
|
||||||
|
|
||||||
if (this.alive)
|
this.nodes.row[this.alive ? "setAttribute" : "removeAttribute"]("active", "true");
|
||||||
this.nodes.row.setAttribute("active", "true");
|
|
||||||
else
|
|
||||||
this.nodes.row.removeAttribute("active");
|
|
||||||
|
|
||||||
this.nodes.row.setAttribute("status", this.status);
|
this.nodes.row.setAttribute("status", this.status);
|
||||||
this.nodes.state.textContent = util.capitalize(this.status);
|
this.nodes.state.textContent = util.capitalize(this.status);
|
||||||
|
|||||||
Reference in New Issue
Block a user