aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bzpage.js5
-rw-r--r--package.json2
-rw-r--r--update.rdf18
3 files changed, 24 insertions, 1 deletions
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
@@ -72,6 +72,24 @@
</em:targetApplication>
</RDF:Description>
</RDF:li>
+ <RDF:li>
+ <RDF:Description>
+ <em:version>0.19</em:version> <!-- This is the version number of the add-on -->
+ <!-- One targetApplication for each application the add-on is compatible with -->
+ <em:targetApplication>
+ <RDF:Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>3.6</em:minVersion>
+ <em:maxVersion>4.*</em:maxVersion>
+ <!-- This is where this version of the add-on will be downloaded from -->
+ <em:updateLink>https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-0.19.xpi</em:updateLink>
+
+ <!-- A page describing what is new in this updated version -->
+ <em:updateInfoURL>https://fedorahosted.org/bugzilla-triage-scripts/wiki/ChangeLog</em:updateInfoURL>
+ </RDF:Description>
+ </em:targetApplication>
+ </RDF:Description>
+ </RDF:li>
</RDF:Seq>
</em:updates>
</RDF:Description>