aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js2
-rw-r--r--lib/rhbzpage.js5
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index de03107..b4891c5 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -18,8 +18,6 @@ var Color = require("color").Color;
var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id=";
// Shared contstants
-var TriagedDistro = 13;
-exports.TriagedDistro = TriagedDistro;
var NumberOfFrames = 7;
exports.NumberOfFrames = NumberOfFrames;
var BTSPrefNS = "bugzilla-triage.setting.";
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 3ae39be..282189b 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -198,7 +198,6 @@ RHBugzillaPage.prototype.closeSomeRelease = function() {
// and put the release version to
// "Fixed in Version" textbox
// otherwise -> NEXTRELEASE
- var verNo = this.getVersion();
this.selectOption("bug_status", "CLOSED");
var text = "";
var resolution = "";
@@ -209,7 +208,7 @@ RHBugzillaPage.prototype.closeSomeRelease = function() {
if (text.length > 0) {
resolution = "CURRENTRELEASE";
this.doc.getElementById("cf_fixed_in").value = text;
- } else if (verNo === 999) {
+ } else if (this.doc.getElementById("version").value === "rawhide") {
resolution = "RAWHIDE";
} else {
resolution = "NEXTRELEASE";
@@ -881,7 +880,7 @@ RHBugzillaPage.prototype.markBugTriaged = function() {
// /fedora-meeting.2009-11-24-15.11.log.html
// for F13 and later, ASSIGNED is "add Triaged keyword" (as well)
// for <F13 it is "add both" (ASSIGNED status and Triaged keyword)
- var ver = this.getVersion();
+ var ver = this.doc.getElementById("version").value;
if ((!this.isEnterprise()) && (ver <= 12)) {
this.selectOption("bug_status", "ASSIGNED");
}