aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js5
1 files changed, 2 insertions, 3 deletions
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");
}