diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-13 10:43:10 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-13 10:43:10 +0100 |
commit | 8352946980b30e0023baf6d839b1fe04bc42343d (patch) | |
tree | 29a0f22fbf09d65aa82239059a26f77425e35717 | |
parent | fc986912dab1078f145d52daca185e1222d6d430 (diff) | |
download | merchant-8352946980b30e0023baf6d839b1fe04bc42343d.tar.gz merchant-8352946980b30e0023baf6d839b1fe04bc42343d.tar.bz2 merchant-8352946980b30e0023baf6d839b1fe04bc42343d.zip |
Making Taler payment option the default (when wallet enabled)
-rw-r--r-- | src/frontend/checkout.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/checkout.php b/src/frontend/checkout.php index abb0a6e3..dff6d508 100644 --- a/src/frontend/checkout.php +++ b/src/frontend/checkout.php @@ -62,7 +62,7 @@ <form name="tform" action="" method="POST"> <div id="opt-form" align="left"><br> - <input type="radio" name="payment_system" value="lisa" checked>Lisa</input> + <input type="radio" name="payment_system" value="lisa">Lisa</input> <br> <input type="radio" name="payment_system" value="ycard">You Card</input> <br> @@ -151,6 +151,7 @@ function has_taler_wallet_cb(aEvent) // enable the Taler payment option from the form var tbutton = document.getElementById("taler-radio-button-id"); tbutton.removeAttribute("disabled"); + tbutton.setAttribute("checked", "true"); }; |