aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-12-22 16:29:37 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-12-22 16:29:37 +0100
commit9248f8a2f65872884803507dc545daf3f576a255 (patch)
tree2c4f4d6a56df082b862122567d7cab280a4adb2a
parent1a5218df5b099193262a1c9209747cca144af7c3 (diff)
downloadbugzilla-triage-9248f8a2f65872884803507dc545daf3f576a255.tar.gz
One more not-everybody-is-a-RH-employee bug
-rw-r--r--bugzillaBugTriage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 3833ab5..793b54f 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -1457,10 +1457,10 @@ function BzPage(doc) {
abrtButton.setAttribute("href",abrtQueryURL);
abrtButton.textContent = "Abrt bugs";
mainTitle.appendChild(abrtButton);
+ var develWhiteboardElem = this.dok.getElementById("cf_devel_whiteboard");
+ var develWhiteboard = develWhiteboardElem ? develWhiteboardElem.value : "btparsed";
- if (!(this.hasKeyword("Triaged") ||
- (/btparsed/.test(this.dok.
- getElementById("cf_devel_whiteboard").value)))) {
+ if (!(this.hasKeyword("Triaged") || (/btparsed/.test(develWhiteboard)))) {
var btAttachments = this.attachments.filter(function (att,idx,arr) {
return (/backtrace/.test(att[0]));
});