commit ba03103cc5441b34b18cec63728ac05b22c8a4fd parent 1058e4e670dd1e305eac29f440a24b9644624574 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Fri, 6 Nov 2015 01:10:07 +0100 deleting "navigating away" events Diffstat:
| M | src/frontend/checkout.php | | | 10 | ---------- |
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php @@ -178,16 +178,6 @@ test_without_wallet(); document.body.addEventListener("taler-wallet-present", has_taler_wallet_cb, false); - -// The following callback is used to allow the button to change its -// color whenever the user navigates away from this page -document.body.addEventListener("taler-navigating-away", - function(){ - var unloadEvent = new Event('taler-checkout-away'); - document.body.dispatchEvent(unloadEvent); - }, - false); - // event awaited by the wallet to change its button's color // alert("sending"); // var eve = new Event('taler-payment-mfirst');