aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-20 10:49:59 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-20 10:49:59 +0200
commit47b6e6fb91372b54bb309e57c14e3f9f987e0322 (patch)
tree1ba20a3031716e1130d36fa49d03714e8365c0d6 /lib/rhbzpage.js
parenta43c259f9d15f0334612844a94233ccc03592b22 (diff)
downloadbugzilla-triage-47b6e6fb91372b54bb309e57c14e3f9f987e0322.tar.gz
Trying to use api-utils.publicConstructor failed.
rhbzpage.markingBugTriaged should have hardcoded F-12 as the limit.
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 123f87e..d7860a2 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -12,7 +12,6 @@ var BZPage = require("bzpage").BZPage;
var url = require("url");
var selection = require("selection");
var tabs = require("tabs");
-// var TriagedDistro = 13;
// var NumberOfFrames = 7;
// var XMLRPCurl = "https://bugzilla.redhat.com/xmlrpc.cgi";
// var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id=";
@@ -898,8 +897,8 @@ RHBugzillaPage.prototype.markBugTriaged = function() {
// 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 assignee = this.getOwner();
- if ((!this.isEnterprise()) && (ver < TriagedDistro)) {
+ console.log("Marking bug as Triaged!");
+ if ((!this.isEnterprise()) && (ver <= 12)) {
this.selectOption("bug_status", "ASSIGNED");
}
this.addStuffToTextBox("keywords","Triaged");
@@ -939,5 +938,5 @@ RHBugzillaPage.prototype.parseBacktrace = function(ret) {
return outStr;
};
-//exports.RHBugzillaPage = apiUtils.publicConstructor(RHBugzillaPage);
-exports.RHBugzillaPage = RHBugzillaPage;
+// exports.RHBugzillaPage = apiUtils.publicConstructor(RHBugzillaPage);
+exports.RHBugzillaPage = RHBugzillaPage; \ No newline at end of file