aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-19 11:08:04 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-19 11:08:04 +0200
commitdfde7d9860de703ba0721059ff4b795fcad07340 (patch)
tree02cbd5e885888b587375a576d7bd77c77453e17e /lib/main.js
parent3692a4dc4dd3b83fa1bda6f002aeb86c0df2cc5f (diff)
downloadbugzilla-triage-dfde7d9860de703ba0721059ff4b795fcad07340.tar.gz
Yet another fix for the chip magic.
- all constant data moved to this.constantData, so that they are available everywhere.
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/main.js b/lib/main.js
index c5df73d..73ff206 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -78,11 +78,6 @@ function initialize(callback) {
onComplete: function () {
config.gJSONData = this.response.json;
- var keys = "", key = "";
- for (key in config.gJSONData) {
- keys += key + " ";
- }
-
// Get additional tables
if ("downloadJSON" in config.gJSONData.configData) {
var URLsList = config.gJSONData.configData.downloadJSON;
@@ -93,7 +88,7 @@ function initialize(callback) {
Request({
url: url,
onComplete: function() {
- config[title] = this.response.json;
+ config.gJSONData.constantData[title] = this.response.json;
}
}).get();
}, this);