diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-02-20 01:21:39 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-02-20 01:21:39 +0100 |
commit | 2abc7e13fe87f92feceafaf348f553cf8b6c9b9e (patch) | |
tree | 6956d68273a6e15b4abf5c8bcb2437ad851eae1c /lib/libbugzilla.js | |
parent | 71df561fef80abf523548727d77dba2ef8ab7b93 (diff) | |
download | bugzilla-triage-2abc7e13fe87f92feceafaf348f553cf8b6c9b9e.tar.gz |
Fix fill-in magic.
* changed regexp for parsing driver line, just PCI ID is
relevant.
* all magic is now in data
* eliminated most unnecessary console.logs ... either changed
to console.error or just removed.
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index 196dbbe..c13c61d 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -262,8 +262,6 @@ exports.makeXMLRPCCall = function makeXMLRPCCall(url, login, method, params, cal if (!passwObj.password) { return null; // TODO this should happen, only when user presses Escape in password prompt } - console.log("makeXMLRPCCall :\n\turl = " + url + "\n\tlogin = " + login + "\n\tmethod = " + - method + "\n\tparams = " + params.toSource() + "\n\tcallback = " + callback.toSource()); var msg = new xrpc.XMLRPCMessage(method); params.forEach(function (par) { @@ -318,7 +316,7 @@ exports.initialize = function initialize(config, callback) { url: url, onComplete: function(response) { if (response.status == 200) { - config.gJSONData.constantData[title] = response.json; + config.constantData[title] = response.json; } } }).get(); |