aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-01-27 14:29:27 +0100
committerMatěj Cepl <mcepl@redhat.com>2010-01-27 14:29:27 +0100
commitc2d7a0f4a8ced7406e957e1e395b681e05c8f55c (patch)
treedeae477b11aa6549a18bfffd49806b8a83821c2d
parentf19b61f15e1cf3108690b3e996554aacce4b1c21 (diff)
downloadbugzilla-triage-c2d7a0f4a8ced7406e957e1e395b681e05c8f55c.tar.gz
Marking bug as triaged doesn't work with RHEL.
-rw-r--r--bugzillaBugTriage.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 79b7d81..6c7ae96 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -743,11 +743,12 @@ BzPage.prototype.isRHEL = function() {
BzPage.prototype.isTriaged = function() {
- if (this.version > 11) {
- return this.hasKeyword("Triaged");
- } else {
+ // First excceptions
+ if (this.version > 7 && this.version < 12) {
return this.dok.getElementById("bug_status").
value.toUpperCase() !== "NEW";
+ } else { // and then the rule
+ return this.hasKeyword("Triaged");
}
};