diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-09-01 14:31:03 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-09-01 14:32:54 +0200 |
commit | 3c1055ba0f1024133d5ffe5e98d95d00f3b97cbe (patch) | |
tree | d80dbba979c978b2f0a0962e99a114b6a14da28e /lib/libbugzilla.js | |
parent | 66eae433f98e8c9aed47200d96161d2404402cc1 (diff) | |
download | bugzilla-triage-3c1055ba0f1024133d5ffe5e98d95d00f3b97cbe.tar.gz |
Better MVC separation ... generating time sheet in content script.
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 5 |
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(); |