aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-17 18:15:57 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-17 18:15:57 +0100
commit66275e3a326dc771c04cb6fbfdee68f09b66ee6c (patch)
tree656776034af77dbd7e13881a7f746e42908df1fa /lib/main.js
parent180be96ea28f4c9e6507f5e018f39e117480667b (diff)
downloadbugzilla-triage-66275e3a326dc771c04cb6fbfdee68f09b66ee6c.tar.gz
Make queryLocal and XML-RPC generally work again.
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/main.js b/lib/main.js
index cd8f259..a169fae 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -78,7 +78,7 @@ var messageHandler = exports.messageHandler = function messageHandler(worker, ms
libbz.changeJSONURL();
break;
case "OpenURLinPanel":
- libbz.openURLinPanel(msg.data);
+ libbz.openURLInNewPanel(msg.data);
break;
case "OpenURLinTab":
libbz.openURLInNewTab(msg.data);
@@ -90,10 +90,7 @@ var messageHandler = exports.messageHandler = function messageHandler(worker, ms
// url, login, method, params, callback
libbz.makeXMLRPCCall(msg.data.url, msg.data.login, msg.data.method,
msg.data.params, function(ret) {
- worker.postMessage({
- payback: ret,
- cbRPC: msg.data.callRPC
- });
+ worker.postMessage(new Message(msg.data.callRPC, ret));
});
break;
case "GetURL":