diff options
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r-- | bugzillaBugTriage.js | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index d6051a7..a2173bf 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -19,10 +19,10 @@ var SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85 var ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83 var Luminosity = 0.85; var Desaturated = 0.4; +var NumberOfFrames = 7; var XMLRPCurl = "https://bugzilla.redhat.com/xmlrpc.cgi"; var myConfig = jetpack.storage.simple; var badMIMEArray = ["application/octet-stream","text/x-log","undefined"]; -var TriagedDistro = 12; //============================================================== // CONFIGURE: The easiest method how to set up the configuration @@ -1217,20 +1217,19 @@ bzPage.prototype.generalPurposeCureForAllDisease = function } this.addKeyword(secondParameter); } else if (nextState === "ASSIGNED") { - // We lie, this is not just plain ASSIGNED, but + // Now we lie completely, we just set keyword Triaged, + // this is not just plain ASSIGNED, but // modified according to // https://fedoraproject.org/wiki/BugZappers/Meetings/Minutes-2009-Oct-27 + // and + // http://meetbot.fedoraproject.org/fedora-meeting/2009-11-24\ + // /fedora-meeting.2009-11-24-15.11.log.html // for F12 and later, ASSIGNED is "don't change status, add // Triaged keyword" if (!isInList(this.maintCCAddr, this.CCList)) { $("#newcc",this.doc).text(this.maintCCAddr); } - verNo = this.getVersion(); - if ((!this.isRHEL()) && (verNo < TriagedDistro)) { - this.selectOption("bug_status", nextState); - } else { - this.setKeyword("Triaged"); - } + this.setKeyword("Triaged"); } else if (nextState === "QUERYSEL") { this.queryForSelection(); } else if (nextState === "SETDEFASS") { @@ -1269,7 +1268,7 @@ bzPage.prototype.parseBacktrace = function (ret) { if (i < ii) { lineCounter = parseInt(frameNoRE.exec(splitArray[i])[1],10); - endLineNo = lineCounter + 10; + endLineNo = lineCounter + NumberOfFrames; curLine = splitArray[i]; while ((lineCounter < endLineNo) && ($.trim(curLine).length >0) && (i < ii)) { @@ -1392,7 +1391,7 @@ function bzPage(doc) { if (AbrtRE.test(bugTitle)) { $(".bz_alias_short_desc_container:first", this.doc). append("\u00A0<a href=''>Abrt bugs</a>").click(function() { - jetpack.tabs.open(abrtQueryURL); + that.doc.location = abrtQueryURL; }); if (!this.hasKeyword("Triaged")) { var btAttachments = this.attachments.filter(function (att,idx,arr) { |