adapting website to new signal names
This commit is contained in:
parent
da29648397
commit
6d03017eba
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user