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/rhbzpage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/rhbzpage.js') 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