gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-web-common] branch master updated: logging


From: gnunet
Subject: [GNUnet-SVN] [taler-web-common] branch master updated: logging
Date: Mon, 13 Feb 2017 00:36:43 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository web-common.

The following commit(s) were added to refs/heads/master by this push:
     new 4831e66  logging
4831e66 is described below

commit 4831e664d69759da288625911c053d145aa1b68c
Author: Florian Dold <address@hidden>
AuthorDate: Mon Feb 13 00:36:41 2017 +0100

    logging
---
 taler-wallet-lib.ts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/taler-wallet-lib.ts b/taler-wallet-lib.ts
index b3a8309..8de8b53 100644
--- a/taler-wallet-lib.ts
+++ b/taler-wallet-lib.ts
@@ -188,9 +188,11 @@ namespace taler {
         }
         switch (r.status) {
           case 200:
+            logVerbose && console.log("got success from pay_url");
             callWallet("taler-payment-succeeded", {H_contract: 
resp.H_contract}, () => {
-              window.location.href = subst(resp.contract.fulfillment_url,
-                                           resp.H_contract);
+              let nextUrl = subst(resp.contract.fulfillment_url, 
resp.H_contract);
+              logVerbose && console.log("taler-payment-succeeded done, going 
to", nextUrl);
+              window.location.href = nextUrl;
               window.location.reload(true);
             });
             break;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]