adapting website to new signal names

This commit is contained in:
Marcello Stanisci 2015-11-09 13:33:18 +01:00
parent da29648397
commit 6d03017eba

View File

@ -74,7 +74,7 @@
- it gets installed
- it gets a 'taler-wire-mfirst' event */
document.body.addEventListener("taler-wallet-installed",
document.body.addEventListener("taler-wallet-present",
has_taler_wallet_cb,
false);
@ -82,8 +82,8 @@
no_taler_wallet_cb,
false);
document.body.addEventListener("taler-wire-wack",
has_taler_wallet_cb,
document.body.addEventListener("taler-load",
signal_me,
false);
@ -95,7 +95,7 @@
/* The mint signals itself to the wallet */
function signal_me(){
var eve = new Event('taler-wire-mfirst');
var eve = new Event('taler-checkout-probe');
document.body.dispatchEvent(eve);
};