aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 84ca094..eceef2b 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -111,7 +111,13 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
this.addCheckXorgLogLink();
// TODO Get compiz bugs as well
- if (config.PCI_ID_Array &&
+ 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")) {
// Add find chip magic button
var whiteboard_string = this.doc.getElementById("status_whiteboard").value;
@@ -456,7 +462,8 @@ RHBugzillaPage.prototype.fillInWhiteBoard = function(iLine, driverStr) {
var that = this;
function groupIDs(manStr, cardStrID) {
- var outStr = util.filterByRegexp(config.chipIDsGroupings, manStr + "," + cardStrID);
+ var outStr = util.filterByRegexp(that.constantData.chipIDsGroupings,
+ manStr + "," + cardStrID);
if (outStr.length === 0) {
outStr = "UNGROUPED_" + manStr + "/" + cardStrID;
}
@@ -472,7 +479,7 @@ RHBugzillaPage.prototype.fillInWhiteBoard = function(iLine, driverStr) {
*/
function checkChipStringFromID(manufacturerNo, cardNo) {
var soughtID = (manufacturerNo + "," + cardNo).toUpperCase();
- var outList = config.PCI_ID_Array[soughtID];
+ var outList = that.constantData.PCI_ID_Array[soughtID];
if (outList) {
return outList;
} else {