From a902cc5f289ecf5d17dbf9eec69747141720f8cd Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 20 Aug 2010 15:25:22 -0400 Subject: We don't have getVersion method anymore --- lib/bzpage.js | 2 -- lib/rhbzpage.js | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'lib') 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