diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-10 18:35:35 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-10 18:35:35 +0100 |
commit | e5988bf353ab4d2251cfc98c61322ec95cbf303c (patch) | |
tree | ea416f536fffb9a8bb3351edb091584d314cf86e | |
parent | 6d03017eba591f2fc6d194b27038f0914a88514f (diff) |
Adding passing details needed to the wallet through the
'wire funds' event (NOT tested)
-rw-r--r-- | website/index.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/website/index.html b/website/index.html index c79f3bbbb..4dff2a7ad 100644 --- a/website/index.html +++ b/website/index.html @@ -89,7 +89,12 @@ function wire_funds(){ - var trigger = new Event("taler-create-reserve"); + let wallet_param = { + 'currencies' : new Array("KUDOS"), + 'input_name' : 'reserve-pk-id', + 'base_url' : window.location.host + }; + var trigger = new CustomEvent("taler-create-reserve", {detail: wallet_param}); document.body.dispatchEvent(trigger); }; |