diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-24 03:30:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-24 03:30:54 +0100 |
commit | 53654b3622de38c6cca5d29f9969eb9a67caf8a0 (patch) | |
tree | 0f34658f03ef8489d10d5bcddc11c9b7a258895c /extension/lib/wallet/wxmessaging.js | |
parent | b8627813be56e04c18baf38885f3a3dc0fb7496c (diff) |
Redirect to bank page on reserve creation success
Fixes #4084.
Diffstat (limited to 'extension/lib/wallet/wxmessaging.js')
-rw-r--r-- | extension/lib/wallet/wxmessaging.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extension/lib/wallet/wxmessaging.js b/extension/lib/wallet/wxmessaging.js index 93ffd8bb7..f54e0b35d 100644 --- a/extension/lib/wallet/wxmessaging.js +++ b/extension/lib/wallet/wxmessaging.js @@ -55,12 +55,10 @@ System.register(["./wallet", "./db", "./http"], function(exports_1) { }; wallet.confirmReserve(req) .then(function (resp) { - if (resp.success) { - resp.backlink = chrome.extension.getURL("pages/reserve-success.html"); - } sendResponse(resp); }) .catch(function (e) { + sendResponse({ success: false }); console.error("exception during 'confirm-reserve'"); console.error(e.stack); }); |