diff options
-rw-r--r-- | BugZappers_data.json | 1 | ||||
-rw-r--r-- | bugzillaBugTriage.js | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/BugZappers_data.json b/BugZappers_data.json index 2fb5bcf..8f7fa0d 100644 --- a/BugZappers_data.json +++ b/BugZappers_data.json @@ -76,6 +76,7 @@ } ], "queryButton":true, + "suspiciousComponents":[], "chipIDsGroupings":[{ "regexp":"RADEON,R(100|[VS][12]00|S200M|S250|N50)", "addr":"R100" diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index 0370890..68aa2ee 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -541,8 +541,7 @@ bzPage.prototype.setBranding = function () { // mark suspicious components // FIXME use https://bugzilla.redhat.com/show_bug.cgi?id=538818 for testing - console.log("component = " + this.component); - if (suspiciousComponents && (suspiciousComponents.indexOf(this.component) != -1)) { + if (suspiciousComponents && isInList(this.component,suspiciousComponents)) { $("#bz_component_edit_container",this.doc). css({ "background-color": "red", |