diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-26 17:21:17 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-26 17:24:42 +0100 |
commit | d2f1cb3234cbeca88903efcfd0d7d406fbece53c (patch) | |
tree | 6c1ab8ea8d3f1a0634aa21c83b6d39c7eac519da /extension/lib/wallet/wxmessaging.js | |
parent | 5f996fedbc7542e1ba757a5a5856e43931ad7939 (diff) |
fix #4153 and #0004154
Diffstat (limited to 'extension/lib/wallet/wxmessaging.js')
-rw-r--r-- | extension/lib/wallet/wxmessaging.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extension/lib/wallet/wxmessaging.js b/extension/lib/wallet/wxmessaging.js index f54e0b35d..ad49ca03a 100644 --- a/extension/lib/wallet/wxmessaging.js +++ b/extension/lib/wallet/wxmessaging.js @@ -81,8 +81,8 @@ System.register(["./wallet", "./db", "./http"], function(exports_1) { .then(function (r) { sendResponse({ success: true, - payUrl: r.payUrl, - payReq: r.payReq + payReq: r.payReq, + contract: r.contract, }); }) .catch(function (e) { @@ -105,6 +105,9 @@ System.register(["./wallet", "./db", "./http"], function(exports_1) { }); return true; }, + _a["error-fatal"] = function (db, detail, sendResponse) { + console.log("fatal error from page", detail.url); + }, _a ); var _a; |