aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
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