exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit e5988bf353ab4d2251cfc98c61322ec95cbf303c
parent 6d03017eba591f2fc6d194b27038f0914a88514f
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Tue, 10 Nov 2015 18:35:35 +0100

Adding passing details needed to the wallet through the
'wire funds' event (NOT tested)

Diffstat:
Mwebsite/index.html | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 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); };