From 33fcda043c9639220cd27429410be128363a69c1 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 19 Aug 2010 17:29:33 -0400 Subject: Changed RH Bugzilla moved reporter's address to other column. Fixed. Fixes #43 --- lib/bzpage.js | 5 +++++ package.json | 2 +- update.rdf | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/bzpage.js b/lib/bzpage.js index f0b4242..0212eac 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -525,6 +525,11 @@ BZPage.prototype.parseMailto = function parseMailto(aElement) { BZPage.prototype.getReporter = function getReporter () { var reporterElement = this.doc. querySelector("#bz_show_bug_column_2 > table .vcard:first-of-type > a"); + // RH Bugzilla after upgrade to 3.6.2 moved the information to other column + if (!reporterElement) { + reporterElement = this.doc. + querySelector("#bz_show_bug_column_1 > table .vcard:first-of-type > a"); + } return this.parseMailto(reporterElement); }; diff --git a/package.json b/package.json index 86328aa..9ccb5cf 100644 --- a/package.json +++ b/package.json @@ -7,5 +7,5 @@ "description": "Additional buttons and other function helping in the triage on bugzilla", "author": "Matej Cepl (http://matej.ceplovi.cz)", "license": "MIT/X11 (http://opensource.org/licenses/mit-license.php)", - "version": "0.18" + "version": "0.19" } diff --git a/update.rdf b/update.rdf index 6a43c9a..d091152 100644 --- a/update.rdf +++ b/update.rdf @@ -66,6 +66,24 @@ https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-0.18.xpi + + https://fedorahosted.org/bugzilla-triage-scripts/wiki/ChangeLog + + + + + + + 0.19 + + + + {ec8030f7-c20a-464f-9b0e-13a3a9e97384} + 3.6 + 4.* + + https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-0.19.xpi + https://fedorahosted.org/bugzilla-triage-scripts/wiki/ChangeLog -- cgit