[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-wallet-webex] branch master updated: fix another fir
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-wallet-webex] branch master updated: fix another firefox incompatibility |
Date: |
Mon, 24 Apr 2017 17:50:19 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-webex.
The following commit(s) were added to refs/heads/master by this push:
new cee7786 fix another firefox incompatibility
cee7786 is described below
commit cee7786b0015d63536cec77d5ad2c9f73f3f02ec
Author: Florian Dold <address@hidden>
AuthorDate: Mon Apr 24 17:50:13 2017 +0200
fix another firefox incompatibility
---
src/wxBackend.ts | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/wxBackend.ts b/src/wxBackend.ts
index 173870b..1aa10ce 100644
--- a/src/wxBackend.ts
+++ b/src/wxBackend.ts
@@ -407,7 +407,9 @@ function handleBankRequest(wallet: Wallet, headerList:
chrome.webRequest.HttpHea
message: `Can't parse amount ("${amount}"): ${e.message}`,
};
let redirectUrl = uri.query(p).href();
- return {redirectUrl};
+ // FIXME: use direct redirect when
https://bugzilla.mozilla.org/show_bug.cgi?id=707624 is fixed
+ chrome.tabs.update(tabId, {url: redirectUrl});
+ return;
}
let wtTypes = headers["x-taler-wt-types"];
if (!wtTypes) {
@@ -424,7 +426,10 @@ function handleBankRequest(wallet: Wallet, headerList:
chrome.webRequest.HttpHea
};
let uri = new
URI(chrome.extension.getURL("/src/pages/confirm-create-reserve.html"));
let redirectUrl = uri.query(params).href();
- return {redirectUrl};
+ console.log("redirecting to", redirectUrl);
+ // FIXME: use direct redirect when
https://bugzilla.mozilla.org/show_bug.cgi?id=707624 is fixed
+ chrome.tabs.update(tabId, {url: redirectUrl});
+ return;
}
// no known headers found, not a taler request ...
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-wallet-webex] branch master updated: fix another firefox incompatibility,
gnunet <=