aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
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 /bugzillaBugTriage.js
parent6bc8e6db8a1888bddebadf516543f731dbb86563 (diff)
downloadbugzilla-triage-85081ddc1f4e03ef316018852da7293d835b67f4.tar.gz
It works much better when I would actually upload the JSON file ;)
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js3
1 files changed, 1 insertions, 2 deletions
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",