aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-11-20 00:18:55 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-11-20 00:18:55 +0100
commit85081ddc1f4e03ef316018852da7293d835b67f4 (patch)
tree04586892baa1a4f4d9041be4e6a6eca70e9b35ef
parent6bc8e6db8a1888bddebadf516543f731dbb86563 (diff)
downloadbugzilla-triage-85081ddc1f4e03ef316018852da7293d835b67f4.tar.gz
It works much better when I would actually upload the JSON file ;)
-rw-r--r--BugZappers_data.json1
-rw-r--r--bugzillaBugTriage.js3
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",