From 8352946980b30e0023baf6d839b1fe04bc42343d Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 13 Nov 2015 10:43:10 +0100 Subject: Making Taler payment option the default (when wallet enabled) --- src/frontend/checkout.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@

- Lisa + Lisa
You Card
@@ -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"); }; -- cgit v1.2.3