From 64213233a16a49bda77f5bb9384c90c7d76f7d2f Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 23 Jul 2010 18:58:52 +0200 Subject: Not everybody has data to determine maintCCAddr --- lib/rhbzpage.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') 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() : ""; -- cgit