aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-08-19 17:29:33 -0400
committerMatěj Cepl <mcepl@redhat.com>2010-08-19 17:38:54 -0400
commit33fcda043c9639220cd27429410be128363a69c1 (patch)
treecb94e846e113eb5d85097d2e515481d11d937ec5 /lib
parent628ebfb2f9f17fadc7081d2b9ec961e9e589b785 (diff)
downloadbugzilla-triage-33fcda043c9639220cd27429410be128363a69c1.tar.gz
Changed RH Bugzilla moved reporter's address to other column. Fixed.0.19
Fixes #43
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js5
1 files changed, 5 insertions, 0 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);
};