diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-06 01:10:07 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-06 01:10:07 +0100 |
commit | ba03103cc5441b34b18cec63728ac05b22c8a4fd (patch) | |
tree | 3bf0faab27f1f159b4c3c0f09afbb499b9db8f0d /src/frontend/checkout.php | |
parent | 1058e4e670dd1e305eac29f440a24b9644624574 (diff) | |
download | merchant-ba03103cc5441b34b18cec63728ac05b22c8a4fd.tar.gz merchant-ba03103cc5441b34b18cec63728ac05b22c8a4fd.tar.bz2 merchant-ba03103cc5441b34b18cec63728ac05b22c8a4fd.zip |
deleting "navigating away" events
Diffstat (limited to 'src/frontend/checkout.php')
-rw-r--r-- | src/frontend/checkout.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php index 771730e8..2f0cc7e9 100644 --- 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'); |