aboutsummaryrefslogtreecommitdiff
path: root/extension/lib/wallet/wxmessaging.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-24 03:30:54 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-24 03:30:54 +0100
commit53654b3622de38c6cca5d29f9969eb9a67caf8a0 (patch)
tree0f34658f03ef8489d10d5bcddc11c9b7a258895c /extension/lib/wallet/wxmessaging.js
parentb8627813be56e04c18baf38885f3a3dc0fb7496c (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.js4
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);
});