diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bzpage.js | 2 | ||||
-rw-r--r-- | lib/rhbzpage.js | 12 |
2 files changed, 4 insertions, 10 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index 9e4af63..9276a2b 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -149,7 +149,7 @@ BZPage.prototype.getInstalledPackages = function getInstalledPackages(cfg) { enabledPackages = enabledPackages.concat(epObject[this.hostname].split(/[, ]/)); } if ("any" in epObject) { - enabledPackages = enabledPackages.concat(epObject["any"].split(/[, ]/)); + enabledPackages = enabledPackages.concat(epObject.any.split(/[, ]/)); } } else { // Default to collecting all comment packages available diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index eceef2b..6782241 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -111,14 +111,8 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) { this.addCheckXorgLogLink(); // TODO Get compiz bugs as well - var keys = ""; - for (var key in config) { - keys += key + ", "; - } - console.log("keys = " + keys); - if (this.constantData.PCI_ID_Array && - (this.maintCCAddr == "xgl-maint@redhat.com")) { + (this.maintCCAddr === "xgl-maint@redhat.com")) { // Add find chip magic button var whiteboard_string = this.doc.getElementById("status_whiteboard").value; if (!/card_/.test(whiteboard_string)) { @@ -447,7 +441,7 @@ RHBugzillaPage.prototype.addCheckXorgLogLink = function addCheckXorgLogLink() { that.analyzeXorgLog(row[1]); }, false); }, this); - }; + } }; /** @@ -648,7 +642,7 @@ RHBugzillaPage.prototype.queryUpstream = function() { var queryUpstreamBugsURLArray = this.constantData.queryUpstreamBug; var urlBase = util.filterByRegexp(queryUpstreamBugsURLArray, this.component); tabs.open({ - url: urlBase + text, + url: urlBase + text }); } }; |