diff options
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r-- | lib/bzpage.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index 6d04f52..9e4af63 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -65,14 +65,15 @@ var BZPage = function BZPage(win, config) { this.commentStrings = config.gJSONData.commentStrings; } + this.constantData = {}; if ("constantData" in config.gJSONData) { this.constantData = config.gJSONData.constantData; this.constantData.queryUpstreamBug = JSON.parse( selfMod.data.load("queryUpstreamBug.json")); } - if ("CCmaintainer" in config.gJSONData.constantData) { - this.defBugzillaMaintainerArr = config.gJSONData.constantData.CCmaintainer; + if ("CCmaintainer" in this.constantData) { + this.defBugzillaMaintainerArr = this.constantData.CCmaintainer; } if ("suspiciousComponents" in config.gJSONData.configData) { |