mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 23:54:12 +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)]);
|
||||
}
|
||||
|
||||
if (AddonManager.getAllAddons)
|
||||
context.incomplete = true;
|
||||
|
||||
context.generate = function generate() {
|
||||
context.incomplete = true;
|
||||
update(base);
|
||||
if (AddonManager.getAllAddons)
|
||||
AddonManager.getAllAddons(function (addons) {
|
||||
|
||||
@@ -148,10 +148,7 @@ var Download = Class("Download", {
|
||||
|
||||
updateStatus: function updateStatus() {
|
||||
|
||||
if (this.alive)
|
||||
this.nodes.row.setAttribute("active", "true");
|
||||
else
|
||||
this.nodes.row.removeAttribute("active");
|
||||
this.nodes.row[this.alive ? "setAttribute" : "removeAttribute"]("active", "true");
|
||||
|
||||
this.nodes.row.setAttribute("status", this.status);
|
||||
this.nodes.state.textContent = util.capitalize(this.status);
|
||||
|
||||
Reference in New Issue
Block a user