diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-08-19 17:29:33 -0400 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-08-19 17:38:54 -0400 |
commit | 33fcda043c9639220cd27429410be128363a69c1 (patch) | |
tree | cb94e846e113eb5d85097d2e515481d11d937ec5 /lib | |
parent | 628ebfb2f9f17fadc7081d2b9ec961e9e589b785 (diff) | |
download | bugzilla-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.js | 5 |
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); }; |