mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 13:52:29 +02:00
Fix small completion.addonType issue.
--HG-- branch : groups
This commit is contained in:
1 parent
1f02fedfb3
commit
e0a483d46a
2 files changed
+2
-7
No files matched your search
@@ -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