1
0
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:
Kris Maglione
2011-02-05 03:56:48 -05:00
parent 1f02fedfb3
commit e0a483d46a
2 changed files with 2 additions and 7 deletions

View File

@@ -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) {

View File

@@ -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);