diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 18:58:52 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-23 18:58:52 +0200 |
commit | 64213233a16a49bda77f5bb9384c90c7d76f7d2f (patch) | |
tree | 145c33e537c048f88de04a0f0fd5f6e23c223da3 /lib/rhbzpage.js | |
parent | d676c42ebc5090b220dc683cca77b9a39239cb25 (diff) | |
download | bugzilla-triage-64213233a16a49bda77f5bb9384c90c7d76f7d2f.tar.gz |
Not everybody has data to determine maintCCAddr
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r-- | lib/rhbzpage.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index 38b3096..78c4f7d 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -70,8 +70,12 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) { this.chipMagicInterestingLine = ""; this.login = this.getLogin(); - this.maintCCAddr = util.filterByRegexp(this.constantData.CCmaintainer, - this.component); + + this.maintCCAddr = null; + if (this.constantData.CCmaintainer) { + this.maintCCAddr = util.filterByRegexp(this.constantData.CCmaintainer, + this.component); + } var ITbutton = this.doc.getElementById("cf_issuetracker"); this.its = ITbutton ? ITbutton.value.trim() : ""; |