aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libbugzilla.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-01 14:31:03 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-01 14:32:54 +0200
commit3c1055ba0f1024133d5ffe5e98d95d00f3b97cbe (patch)
treed80dbba979c978b2f0a0962e99a114b6a14da28e /lib/libbugzilla.js
parent66eae433f98e8c9aed47200d96161d2404402cc1 (diff)
downloadbugzilla-triage-3c1055ba0f1024133d5ffe5e98d95d00f3b97cbe.tar.gz
Better MVC separation ... generating time sheet in content script.
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r--lib/libbugzilla.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index d366ada..62df80b 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -387,6 +387,8 @@ exports.initialize = function initialize(config, callback) {
JSON.parse(selfMod.data.load("newUpstreamBug.json"));
config.constantData.ProfessionalProducts =
JSON.parse(selfMod.data.load("professionalProducts.json"));
+ config.constantData.BugzillaAbbreviations =
+ JSON.parse(selfMod.data.load("bugzillalabelAbbreviations.json"));
}
if ("CCmaintainer" in config.constantData) {
@@ -401,8 +403,7 @@ exports.initialize = function initialize(config, callback) {
if ("submitsLogging" in config.gJSONData.configData &&
config.gJSONData.configData.submitsLogging) {
- logger.initialize(JSON.parse(selfMod.data.load(
- "bugzillalabelAbbreviations.json")));
+ logger.initialize();
}
}
callback();