aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-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]));
});